mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +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">
|
||||
<span>{{ colName }}</span>
|
||||
<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">
|
||||
{{ i18n.t('repositories.item_card.stock_export') }}
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue