feat(app): make app update notification not close when opening the changelog (#5978)
Make app update notification not close when opening the changelog
This commit is contained in:
@@ -130,7 +130,9 @@ const dismiss = (id: string | number) => popupNotificationManager.removeNotifica
|
||||
|
||||
function handleButtonClick(id: string | number, btn: PopupNotificationButton) {
|
||||
btn.action()
|
||||
popupNotificationManager.removeNotification(id)
|
||||
if (!btn.keepOpen) {
|
||||
popupNotificationManager.removeNotification(id)
|
||||
}
|
||||
}
|
||||
|
||||
function progressColorForType(type: PopupNotification['type']) {
|
||||
|
||||
Reference in New Issue
Block a user