diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-02 10:40:41 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-02 10:40:41 +0300 |
| commit | 1293bec77e5137acf64d3536c286f8ba3df284f4 (patch) | |
| tree | dd95f0f93a0e54c3215491b98e2dac871fe102ff /src/App.js | |
| parent | 0997e5ff668a57d58002ec646f698c5503f66c35 (diff) | |
change storage error one-off into a global notice system
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -13,6 +13,7 @@ import MobilePostStatusButton from './components/mobile_post_status_button/mobil import MobileNav from './components/mobile_nav/mobile_nav.vue' import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue' import PostStatusModal from './components/post_status_modal/post_status_modal.vue' +import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue' import { windowWidth } from './services/window_utils/window_utils' export default { @@ -32,7 +33,8 @@ export default { MobileNav, SettingsModal, UserReportingModal, - PostStatusModal + PostStatusModal, + GlobalNoticeList }, data: () => ({ mobileActivePanel: 'timeline', @@ -107,9 +109,6 @@ export default { return { 'order': this.$store.state.instance.sidebarRight ? 99 : 0 } - }, - showStorageError () { - return this.$store.state.interface.storageError === 'show' } }, methods: { @@ -132,9 +131,6 @@ export default { if (changed) { this.$store.dispatch('setMobileLayout', mobileLayout) } - }, - hideStorageError () { - this.$store.dispatch('setStorageError', 'hide') } } } |
