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/>
<span class="icon icon-level-identifier">
<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" />
</span>
<span

View File

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