Fixes repository-level icon on collection metadata list. #184.
This commit is contained in:
parent
a673b22a28
commit
b0055cc851
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue