Hides view mode dropdown from items term list. Fixes wrong icon and color for repository level metadata.

This commit is contained in:
Mateus Machado Luna 2018-08-20 09:14:25 -03:00
parent 7e37dee989
commit d8b54c5361
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@
<grip-icon/> <grip-icon/>
<span class="icon icon-level-identifier"> <span class="icon icon-level-identifier">
<i <i
:class="{ 'mdi-folder has-text-turquoise5': metadatum.collection_id == collectionId, 'mdi-folder-multiple has-text-blue5': metadatum.collection_id != collectionId }" :class="{ 'mdi-folder has-text-turquoise5': (metadatum.collection_id == collectionId && !isRepositoryLevel), 'mdi-folder-multiple has-text-blue5': metadatum.collection_id != collectionId || isRepositoryLevel}"
class="mdi" /> class="mdi" />
</span> </span>
<span <span

View File

@ -256,7 +256,7 @@
</div> </div>
<!-- View Modes Dropdown --> <!-- View Modes Dropdown -->
<div <!-- <div
v-if="isOnTheme" v-if="isOnTheme"
class="search-control-item"> class="search-control-item">
<b-field> <b-field>
@ -357,7 +357,7 @@
</b-dropdown-item> </b-dropdown-item>
</b-dropdown> </b-dropdown>
</b-field> </b-field>
</div> </div> -->
<!-- Filters mobile modal button --> <!-- Filters mobile modal button -->
<div class="search-control-item is-hidden-tablet"> <div class="search-control-item is-hidden-tablet">