diff options
| author | feld <feld@feld.me> | 2019-12-13 17:02:09 +0000 |
|---|---|---|
| committer | feld <feld@feld.me> | 2019-12-13 17:02:09 +0000 |
| commit | 749a3999449fa5d5cf366a3b636be4590d93729c (patch) | |
| tree | b38aa6b0c60e9ba96f00dd4ac433f5d976612429 /src/modules/statuses.js | |
| parent | 0b49e798e0737728e94ff8a284a4570acc7bac28 (diff) | |
| parent | 8ee80339555c53d45602f40fdbe6b487a6992515 (diff) | |
Merge branch 'issue_124' into 'develop'
Change 403 messaging
See merge request pleroma/pleroma-fe!1020
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index f11ffdcd..e3a1f293 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -38,6 +38,7 @@ export const defaultState = () => ({ notifications: emptyNotifications(), favorites: new Set(), error: false, + errorData: null, timelines: { mentions: emptyTl(), public: emptyTl(), @@ -479,6 +480,9 @@ export const mutations = { setError (state, { value }) { state.error = value }, + setErrorData (state, { value }) { + state.errorData = value + }, setNotificationsLoading (state, { value }) { state.notifications.loading = value }, @@ -528,6 +532,9 @@ const statuses = { setError ({ rootState, commit }, { value }) { commit('setError', { value }) }, + setErrorData ({ rootState, commit }, { value }) { + commit('setErrorData', { value }) + }, setNotificationsLoading ({ rootState, commit }, { value }) { commit('setNotificationsLoading', { value }) }, |
