Skip to content

Commit

Permalink
Merge pull request #1555 from NicoPennec/fix/shared
Browse files Browse the repository at this point in the history
Improve UI for shared assets
  • Loading branch information
EvanBldy authored Oct 21, 2024
2 parents de0f9ad + 973f552 commit d22eb09
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/components/lists/AssetList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
<description-cell
class="description"
@description-changed="value => onDescriptionChanged(asset, value)"
:editable="isCurrentUserManager"
:editable="isCurrentUserManager && !asset.shared"
v-if="!isCurrentUserClient && isShowInfos && isAssetDescription"
:entry="asset"
/>
Expand Down Expand Up @@ -1076,9 +1076,17 @@ td.ready-for {
var(--shared-color) 20%,
transparent
) !important;
&:hover {
opacity: 1;
}
}
> td > :deep(*) {
display: none;
> td:not(.description-cell) {
font-size: 0;
> :deep(*) {
display: none;
}
}
}
Expand Down

0 comments on commit d22eb09

Please sign in to comment.