aboutsummaryrefslogtreecommitdiff
path: root/src/modules/statuses.js
diff options
context:
space:
mode:
authorWyatt Benno <wyattbenno@gmail.com>2019-12-05 11:48:37 +0900
committerWyatt Benno <wyattbenno@gmail.com>2019-12-05 11:48:37 +0900
commit13fc2612ae388dec682829ae2b6211bb3cb8ccb3 (patch)
treeaf2d85d4ce07922c4cfbcd2ba688e559d0e8ac30 /src/modules/statuses.js
parent7b1d5a4f5c54e6ea549a3a69d180970305ff0715 (diff)
Change 403 messaging
Diffstat (limited to 'src/modules/statuses.js')
-rw-r--r--src/modules/statuses.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js
index f11ffdcd..d0e871c8 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,
+ error403: false,
timelines: {
mentions: emptyTl(),
public: emptyTl(),
@@ -479,6 +480,9 @@ export const mutations = {
setError (state, { value }) {
state.error = value
},
+ set403Error (state, { value }) {
+ state.error403 = value
+ },
setNotificationsLoading (state, { value }) {
state.notifications.loading = value
},
@@ -528,6 +532,9 @@ const statuses = {
setError ({ rootState, commit }, { value }) {
commit('setError', { value })
},
+ set403Error ({ rootState, commit }, { value }) {
+ commit('set403Error', { value })
+ },
setNotificationsLoading ({ rootState, commit }, { value }) {
commit('setNotificationsLoading', { value })
},