Commit 0d4d777e authored by Eric Eastwood's avatar Eric Eastwood

Move isMini logic to the wrapper

Conflicts:
	app/assets/javascripts/repo/components/repo.vue
parent 9f19b08f
...@@ -44,14 +44,14 @@ export default { ...@@ -44,14 +44,14 @@ export default {
<template> <template>
<div class="repository-view tree-content-holder"> <div class="repository-view tree-content-holder">
<repo-sidebar/><div class="panel-right" <repo-sidebar/><div v-if="isMini"
class="panel-right"
:class="{'edit-mode': editMode}"> :class="{'edit-mode': editMode}">
<repo-tabs/> <repo-tabs/>
<component <component
v-if="isMini"
:is="currentBlobView" :is="currentBlobView"
class="blob-viewer-container"/> class="blob-viewer-container"/>
<repo-file-buttons v-if="isMini"/> <repo-file-buttons/>
</div> </div>
<repo-commit-section/> <repo-commit-section/>
<popup-dialog <popup-dialog
......
...@@ -24,7 +24,6 @@ export default RepoTabs; ...@@ -24,7 +24,6 @@ export default RepoTabs;
<template> <template>
<ul <ul
v-if="isMini"
id="tabs"> id="tabs">
<repo-tab v-for="tab in openedFiles" :key="tab.id" :tab="tab" :class="{'active' : tab.active}" @xclicked="xClicked"/> <repo-tab v-for="tab in openedFiles" :key="tab.id" :tab="tab" :class="{'active' : tab.active}" @xclicked="xClicked"/>
<li class="tabs-divider" /> <li class="tabs-divider" />
......
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