aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-05-08 17:02:09 +0200
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-05-08 17:02:09 +0200
commit1e38ec5e524c71ae89cd7d4956736494b8c13886 (patch)
tree73be43066ff504af701e1c201b209db09abdb302 /src/app.js
parentfix debug message for announcement semver logic (diff)
downloadferdium-app-1e38ec5e524c71ae89cd7d4956736494b8c13886.tar.gz
ferdium-app-1e38ec5e524c71ae89cd7d4956736494b8c13886.tar.zst
ferdium-app-1e38ec5e524c71ae89cd7d4956736494b8c13886.zip
fix(Announcements): Fixes issue with rendering announcments in workspaces
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index f6092bf60..cb3e37c64 100644
--- a/src/app.js
+++ b/src/app.js
@@ -43,6 +43,8 @@ import SubscriptionPopupScreen from './containers/subscription/SubscriptionPopup
43import WorkspacesScreen from './features/workspaces/containers/WorkspacesScreen'; 43import WorkspacesScreen from './features/workspaces/containers/WorkspacesScreen';
44import EditWorkspaceScreen from './features/workspaces/containers/EditWorkspaceScreen'; 44import EditWorkspaceScreen from './features/workspaces/containers/EditWorkspaceScreen';
45import { WORKSPACES_ROUTES } from './features/workspaces'; 45import { WORKSPACES_ROUTES } from './features/workspaces';
46import AnnouncementScreen from './features/announcements/components/AnnouncementScreen';
47import { ANNOUNCEMENTS_ROUTES } from './features/announcements';
46 48
47// Add Polyfills 49// Add Polyfills
48smoothScroll.polyfill(); 50smoothScroll.polyfill();
@@ -73,6 +75,7 @@ window.addEventListener('load', () => {
73 <I18N> 75 <I18N>
74 <Router history={history}> 76 <Router history={history}>
75 <Route path="/" component={AppLayoutContainer}> 77 <Route path="/" component={AppLayoutContainer}>
78 <Route path={ANNOUNCEMENTS_ROUTES.TARGET} component={AnnouncementScreen} />
76 <Route path="/settings" component={SettingsWindow}> 79 <Route path="/settings" component={SettingsWindow}>
77 <IndexRedirect to="/settings/recipes" /> 80 <IndexRedirect to="/settings/recipes" />
78 <Route path="/settings/recipes" component={RecipesScreen} /> 81 <Route path="/settings/recipes" component={RecipesScreen} />