Fixed update available toast not disappearing

This commit is contained in:
RemixDev 2022-02-09 13:02:55 +01:00
parent e1f58375fa
commit 8d2d45ef38
1 changed files with 1 additions and 1 deletions

View File

@ -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')
}