mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 23:54:43 +08:00
Merge pull request #8486 from aignatov-bio/ai-sci-11859-fix-extend-collapse-icon-storage-locations
Fix extend/collapse icon for storage locations [SCI-11859]
This commit is contained in:
commit
cca05960c8
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
|||
:key="storageLocationTree.storage_location.id">
|
||||
<div class="flex items-center">
|
||||
<i v-if="storageLocationTree.children.length > 0"
|
||||
:class="{'sn-icon-up': opendedStorageLocations[storageLocationTree.storage_location.id],
|
||||
'sn-icon-down': !opendedStorageLocations[storageLocationTree.storage_location.id]}"
|
||||
:class="{'sn-icon-down': opendedStorageLocations[storageLocationTree.storage_location.id],
|
||||
'sn-icon-right': !opendedStorageLocations[storageLocationTree.storage_location.id]}"
|
||||
@click="opendedStorageLocations[storageLocationTree.storage_location.id] = !opendedStorageLocations[storageLocationTree.storage_location.id]"
|
||||
class="sn-icon p-2 pr-1 cursor-pointer"></i>
|
||||
<i v-else class="sn-icon sn-icon-up p-2 pr-1 opacity-0"></i>
|
||||
|
|
Loading…
Add table
Reference in a new issue