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 {
<template>
<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}">
<repo-tabs/>
<component
v-if="isMini"
:is="currentBlobView"
class="blob-viewer-container"/>
<repo-file-buttons v-if="isMini"/>
<repo-file-buttons/>
</div>
<repo-commit-section/>
<popup-dialog
......
......@@ -24,7 +24,6 @@ export default RepoTabs;
<template>
<ul
v-if="isMini"
id="tabs">
<repo-tab v-for="tab in openedFiles" :key="tab.id" :tab="tab" :class="{'active' : tab.active}" @xclicked="xClicked"/>
<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