From 1293bec77e5137acf64d3536c286f8ba3df284f4 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Thu, 2 Jul 2020 10:40:41 +0300 Subject: change storage error one-off into a global notice system --- src/App.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index da66fe21..92c4e2f5 100644 --- a/src/App.js +++ b/src/App.js @@ -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') } } } -- cgit v1.2.3-70-g09d2