diff options
author | 2019-04-04 15:59:29 +0200 | |
---|---|---|
committer | 2019-04-04 16:00:25 +0200 | |
commit | 5ffd0230dc130bf20a0059aab3dd038683df93de (patch) | |
tree | d5cfea1cf6b6e25633f9a57b60581476afc960e0 /src/features/workspaces | |
parent | fix bug in workspace feature initialization (diff) | |
download | ferdium-app-5ffd0230dc130bf20a0059aab3dd038683df93de.tar.gz ferdium-app-5ffd0230dc130bf20a0059aab3dd038683df93de.tar.zst ferdium-app-5ffd0230dc130bf20a0059aab3dd038683df93de.zip |
show workspaces intro in drawer when user has none yet
Diffstat (limited to 'src/features/workspaces')
-rw-r--r-- | src/features/workspaces/api.js | 1 | ||||
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawer.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/features/workspaces/api.js b/src/features/workspaces/api.js index 356e48cdb..0ec20c9ea 100644 --- a/src/features/workspaces/api.js +++ b/src/features/workspaces/api.js | |||
@@ -1,5 +1,4 @@ | |||
1 | import { pick } from 'lodash'; | 1 | import { pick } from 'lodash'; |
2 | import localStorage from 'mobx-localstorage'; | ||
3 | import { sendAuthRequest } from '../../api/utils/auth'; | 2 | import { sendAuthRequest } from '../../api/utils/auth'; |
4 | import { API, API_VERSION } from '../../environment'; | 3 | import { API, API_VERSION } from '../../environment'; |
5 | import Request from '../../stores/lib/Request'; | 4 | import Request from '../../stores/lib/Request'; |
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js index 6eacafa68..3602da792 100644 --- a/src/features/workspaces/components/WorkspaceDrawer.js +++ b/src/features/workspaces/components/WorkspaceDrawer.js | |||
@@ -119,7 +119,7 @@ class WorkspaceDrawer extends Component { | |||
119 | /> | 119 | /> |
120 | </span> | 120 | </span> |
121 | </H1> | 121 | </H1> |
122 | {workspaceStore.isPremiumUpgradeRequired ? ( | 122 | {!workspaceStore.userHasWorkspaces ? ( |
123 | <div className={classes.premiumAnnouncement}> | 123 | <div className={classes.premiumAnnouncement}> |
124 | <FormattedHTMLMessage {...messages.workspaceFeatureInfo} /> | 124 | <FormattedHTMLMessage {...messages.workspaceFeatureInfo} /> |
125 | <Button | 125 | <Button |