diff options
author | 2019-04-11 12:53:16 +0200 | |
---|---|---|
committer | 2019-04-11 12:53:16 +0200 | |
commit | ca9d5863f9067f2a32498da763cd536e0bcc5c77 (patch) | |
tree | 30d0f41f9db7c499cc3e1f2f1e39004294be7f80 /src/containers | |
parent | merge-in workspace feature (diff) | |
download | ferdium-app-ca9d5863f9067f2a32498da763cd536e0bcc5c77.tar.gz ferdium-app-ca9d5863f9067f2a32498da763cd536e0bcc5c77.tar.zst ferdium-app-ca9d5863f9067f2a32498da763cd536e0bcc5c77.zip |
refactor announcements to newest feature pattern
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/layout/AppLayoutContainer.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index 0357f63bd..8a0e105e7 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js | |||
@@ -20,10 +20,11 @@ import Services from '../../components/services/content/Services'; | |||
20 | import AppLoader from '../../components/ui/AppLoader'; | 20 | import AppLoader from '../../components/ui/AppLoader'; |
21 | 21 | ||
22 | import { state as delayAppState } from '../../features/delayApp'; | 22 | import { state as delayAppState } from '../../features/delayApp'; |
23 | import { announcementsState } from '../../features/announcements/state'; | 23 | import { } from '../../features/announcements/store'; |
24 | import { workspaceActions } from '../../features/workspaces/actions'; | 24 | import { workspaceActions } from '../../features/workspaces/actions'; |
25 | import WorkspaceDrawer from '../../features/workspaces/components/WorkspaceDrawer'; | 25 | import WorkspaceDrawer from '../../features/workspaces/components/WorkspaceDrawer'; |
26 | import { workspaceStore } from '../../features/workspaces'; | 26 | import { workspaceStore } from '../../features/workspaces'; |
27 | import { announcementsStore } from '../../features/announcements'; | ||
27 | 28 | ||
28 | export default @inject('stores', 'actions') @observer class AppLayoutContainer extends Component { | 29 | export default @inject('stores', 'actions') @observer class AppLayoutContainer extends Component { |
29 | static defaultProps = { | 30 | static defaultProps = { |
@@ -150,7 +151,7 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e | |||
150 | areRequiredRequestsLoading={requests.areRequiredRequestsLoading} | 151 | areRequiredRequestsLoading={requests.areRequiredRequestsLoading} |
151 | darkMode={settings.all.app.darkMode} | 152 | darkMode={settings.all.app.darkMode} |
152 | isDelayAppScreenVisible={delayAppState.isDelayAppScreenVisible} | 153 | isDelayAppScreenVisible={delayAppState.isDelayAppScreenVisible} |
153 | isAnnouncementVisible={announcementsState.isAnnouncementVisible} | 154 | isAnnouncementVisible={announcementsStore.isAnnouncementVisible} |
154 | > | 155 | > |
155 | {React.Children.count(children) > 0 ? children : null} | 156 | {React.Children.count(children) > 0 ? children : null} |
156 | </AppLayout> | 157 | </AppLayout> |