Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-05-04 15:03:35 +0300
committerPhil Hughes <me@iamphill.com>2018-05-04 15:03:35 +0300
commitaeb4b7508fabb36388c904a6e7d7d6c21f951961 (patch)
tree362b17d933d3353c1311947ae69470b5212626d1 /app/assets/javascripts/ide/stores/state.js
parent4d48658bcce6129f266f426036e58967a46ed8c1 (diff)
create constant for viewer type
i18n
Diffstat (limited to 'app/assets/javascripts/ide/stores/state.js')
-rw-r--r--app/assets/javascripts/ide/stores/state.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/stores/state.js b/app/assets/javascripts/ide/stores/state.js
index fd31fcd14ab..e7411f16a4f 100644
--- a/app/assets/javascripts/ide/stores/state.js
+++ b/app/assets/javascripts/ide/stores/state.js
@@ -1,4 +1,4 @@
-import { activityBarViews } from '../constants';
+import { activityBarViews, viewerTypes } from '../constants';
export default () => ({
currentProjectId: '',
@@ -18,7 +18,7 @@ export default () => ({
rightPanelCollapsed: false,
panelResizing: false,
entries: {},
- viewer: 'editor',
+ viewer: viewerTypes.edit,
delayViewerUpdated: false,
currentActivityView: activityBarViews.edit,
unusedSeal: true,