Commit 5ac76edb authored by Phil Hughes's avatar Phil Hughes

moved activity bar view constant into constants file

parent 2e7389ab
<script>
import { mapActions, mapGetters, mapState } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue';
import { ActivityBarViews } from '../stores/state';
import { ActivityBarViews } from '../constants';
export default {
components: {
......
// Fuzzy file finder
export const MAX_TITLE_LENGTH = 50;
export const MAX_BODY_LENGTH = 72;
export const ActivityBarViews = {
edit: 'ide-tree',
commit: 'commit-section',
};
export const ActivityBarViews = {
edit: 'ide-tree',
commit: 'commit-section',
};
import { ActivityBarViews } from '../constants';
export default () => ({
currentProjectId: '',
......
import Vue from 'vue';
import store from '~/ide/stores';
import { ActivityBarViews } from '~/ide/stores/state';
import { ActivityBarViews } from '~/ide/constants';
import ActivityBar from '~/ide/components/activity_bar.vue';
import { createComponentWithStore } from '../../helpers/vue_mount_component_helper';
import { resetStore } from '../helpers';
......
import Vue from 'vue';
import store from '~/ide/stores';
import ideSidebar from '~/ide/components/ide_side_bar.vue';
import { ActivityBarViews } from '~/ide/stores/state';
import { ActivityBarViews } from '~/ide/constants';
import { createComponentWithStore } from 'spec/helpers/vue_mount_component_helper';
import { resetStore } from '../helpers';
import { projectData } from '../mock_data';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment