Fixes repository-level icon on collection metadata list. #184.

This commit is contained in:
mateuswetah 2022-07-28 14:05:18 -03:00
parent a673b22a28
commit b0055cc851
1 changed files with 9 additions and 1 deletions

View File

@ -165,7 +165,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_required'), content: $i18n.get('label_required'),
autoHide: true, autoHide: true,
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
* ({{ $i18n.get('label_default_section') }}) * ({{ $i18n.get('label_default_section') }})
@ -370,6 +370,14 @@
}" }"
class="icon icon-level-identifier"> class="icon icon-level-identifier">
<i <i
v-if="metadatum.collection_id == 'default'"
:class="{
'has-text-blue5': metadatum.enabled,
'has-text-gray3': !metadatum.enabled
}"
class="tainacan-icon tainacan-icon-repository" />
<i
v-else
:class="{ :class="{
'has-text-turquoise5': metadatum.enabled, 'has-text-turquoise5': metadatum.enabled,
'has-text-gray3': !metadatum.enabled 'has-text-gray3': !metadatum.enabled