Disable Flash messages for a certain liveview

In my project I have my navigation sidebar as a liveview. However using put_flash on another liveview duplicates it on the sidebar which is rather annoying. Is there a way to disable flashes for certain liveviews? I appreciate all help

Can you show your liveview code for your side bar? Flash messages don’t show up on your own, you have to explicitly call get_flash so maybe you can just delete those rows from the navbar live view?