summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/components/panes/right.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/ide/components/panes/right.vue')
-rw-r--r--app/assets/javascripts/ide/components/panes/right.vue15
1 files changed, 2 insertions, 13 deletions
diff --git a/app/assets/javascripts/ide/components/panes/right.vue b/app/assets/javascripts/ide/components/panes/right.vue
index da2d4fbe7f0..8342b3f428c 100644
--- a/app/assets/javascripts/ide/components/panes/right.vue
+++ b/app/assets/javascripts/ide/components/panes/right.vue
@@ -1,10 +1,9 @@
<script>
-import { mapGetters, mapState } from 'vuex';
+import { mapState } from 'vuex';
import { __ } from '~/locale';
import { rightSidebarViews, SIDEBAR_INIT_WIDTH, SIDEBAR_NAV_WIDTH } from '../../constants';
import JobsDetail from '../jobs/detail.vue';
import PipelinesList from '../pipelines/list.vue';
-import Clientside from '../preview/clientside.vue';
import ResizablePanel from '../resizable_panel.vue';
import TerminalView from '../terminal/view.vue';
import CollapsibleSidebar from './collapsible_sidebar.vue';
@@ -20,12 +19,8 @@ export default {
},
computed: {
...mapState('terminal', { isTerminalVisible: 'isVisible' }),
- ...mapState(['currentMergeRequestId', 'clientsidePreviewEnabled']),
- ...mapGetters(['packageJson']),
+ ...mapState(['currentMergeRequestId']),
...mapState('rightPane', ['isOpen']),
- showLivePreview() {
- return this.packageJson && this.clientsidePreviewEnabled;
- },
rightExtensionTabs() {
return [
{
@@ -38,12 +33,6 @@ export default {
icon: 'rocket',
},
{
- show: this.showLivePreview,
- title: __('Live preview'),
- views: [{ component: Clientside, ...rightSidebarViews.clientSidePreview }],
- icon: 'live-preview',
- },
- {
show: this.isTerminalVisible,
title: __('Terminal'),
views: [{ component: TerminalView, ...rightSidebarViews.terminal }],