Is your feature request related to a problem? Please describe.
Two scenarios:
I have gotify pinned as a browser tab so i get desktop notifications. If the browser closes for any reason and reopens it uses a cached page result which may or may not have notifications.
If I sleep my machine at some point and i know a notification came through (noise from phone) and boot back up, the notification list maybe blank
If no notifications are present then in both scenarios i need to fully refresh the tab. If a notification was present already either in the cached page or before i slept my machine, the Refresh button is enabled and i can click it.
Clicking on the Refresh seems to reconnect the page to the server without having to browser refresh.
Describe the solution you'd like
Remove disabled={!hasMessages} from the refresh button. Why disable the button in the first place?
Is your feature request related to a problem? Please describe.
Two scenarios:
If no notifications are present then in both scenarios i need to fully refresh the tab. If a notification was present already either in the cached page or before i slept my machine, the Refresh button is enabled and i can click it.
Clicking on the Refresh seems to reconnect the page to the server without having to browser refresh.
Describe the solution you'd like
Remove
disabled={!hasMessages}
from the refresh button. Why disable the button in the first place?