mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-29 17:38:25 +00:00
Fixed update available toast not disappearing
This commit is contained in:
parent
e1f58375fa
commit
8d2d45ef38
|
@ -97,7 +97,7 @@ async function startApp() {
|
|||
const updates = await fetchData('checkForUpdates')
|
||||
store.dispatch('setUpdateInfo', updates).catch(console.error)
|
||||
if (updates.updateAvailable) {
|
||||
toast(i18n.t('toasts.updateAvailable'), 'browser_updated', false, 'updates-toast')
|
||||
toast(i18n.t('toasts.updateAvailable'), 'browser_updated', true, 'updates-toast')
|
||||
} else {
|
||||
toast(i18n.t('toasts.noUpdateAvailable'), 'done', true, 'updates-toast')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue