error display

This commit is contained in:
Henry Jameson 2018-08-20 20:45:54 +03:00
parent f9b0a95969
commit b97db4912d
4 changed files with 28 additions and 2 deletions

View file

@ -29,6 +29,7 @@ export const defaultState = {
maxSavedId: 0,
minId: Number.POSITIVE_INFINITY,
data: [],
error: false,
brokenFavorites: {}
},
favorites: new Set(),
@ -364,7 +365,7 @@ export const mutations = {
state.error = value
},
setNotificationsError (state, { value }) {
state.notificationsError = value
state.notifications.error = value
},
setNotificationsSilence (state, { value }) {
state.notifications.desktopNotificationSilence = value