diff options
| author | Wyatt Benno <wyattbenno@gmail.com> | 2019-12-09 09:02:34 +0900 |
|---|---|---|
| committer | Wyatt Benno <wyattbenno@gmail.com> | 2019-12-09 09:02:34 +0900 |
| commit | e86af0c965d459d016d638c0822bc9af6a6c0ee1 (patch) | |
| tree | 6a1f446d7bf2305bf4b3837041f6f4254fcc1910 /src/modules/statuses.js | |
| parent | 01855f315c7db813d7bbf2f3683017819d2fb70c (diff) | |
Change naming, make more general
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index d0e871c8..4068aa02 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -38,7 +38,7 @@ export const defaultState = () => ({ notifications: emptyNotifications(), favorites: new Set(), error: false, - error403: false, + errorData: '', timelines: { mentions: emptyTl(), public: emptyTl(), @@ -480,8 +480,8 @@ export const mutations = { setError (state, { value }) { state.error = value }, - set403Error (state, { value }) { - state.error403 = value + setErrorData (state, { value }) { + state.errorData = value }, setNotificationsLoading (state, { value }) { state.notifications.loading = value @@ -532,8 +532,8 @@ const statuses = { setError ({ rootState, commit }, { value }) { commit('setError', { value }) }, - set403Error ({ rootState, commit }, { value }) { - commit('set403Error', { value }) + setErrorData ({ rootState, commit }, { value }) { + commit('setErrorData', { value }) }, setNotificationsLoading ({ rootState, commit }, { value }) { commit('setNotificationsLoading', { value }) |
