diff options
author | Phil Hughes <me@iamphill.com> | 2018-05-04 13:03:35 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-05-04 13:03:35 +0100 |
commit | aeb4b7508fabb36388c904a6e7d7d6c21f951961 (patch) | |
tree | 362b17d933d3353c1311947ae69470b5212626d1 /app/assets/javascripts/ide/stores/state.js | |
parent | 4d48658bcce6129f266f426036e58967a46ed8c1 (diff) | |
download | gitlab-ce-aeb4b7508fabb36388c904a6e7d7d6c21f951961.tar.gz |
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.js | 4 |
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, |