mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Hide export button inntem card when item has no stock set [SCI-9509] (#6478)
This commit is contained in:
parent
965deded98
commit
f83f5a8b58
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
<div class="font-inter text-sm font-semibold leading-5 relative">
|
<div class="font-inter text-sm font-semibold leading-5 relative">
|
||||||
<span>{{ colName }}</span>
|
<span>{{ colName }}</span>
|
||||||
<a style="text-decoration: none;" class="absolute right-0 btn-text-link font-normal export-consumption-button"
|
<a style="text-decoration: none;" class="absolute right-0 btn-text-link font-normal export-consumption-button"
|
||||||
v-if="permissions?.can_export_repository_stock === true" :data-rows="JSON.stringify([repositoryRowId])"
|
v-if="permissions?.can_export_repository_stock === true && colVal?.stock_formatted" :data-rows="JSON.stringify([repositoryRowId])"
|
||||||
:data-object-id="repositoryId">
|
:data-object-id="repositoryId">
|
||||||
{{ i18n.t('repositories.item_card.stock_export') }}
|
{{ i18n.t('repositories.item_card.stock_export') }}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue