mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
conditional empty fields rendering (#263)
This commit is contained in:
committed by
Denys Vuika
parent
330b795aa6
commit
b560f19913
@@ -190,7 +190,7 @@
|
|||||||
|
|
||||||
<adf-content-metadata-card
|
<adf-content-metadata-card
|
||||||
[readOnly]="!canUpdate(documentList.selection)"
|
[readOnly]="!canUpdate(documentList.selection)"
|
||||||
[displayEmpty]="true"
|
[displayEmpty]="canUpdate(documentList.selection)"
|
||||||
[preset]="'custom'"
|
[preset]="'custom'"
|
||||||
[node]="infoInstance.node">
|
[node]="infoInstance.node">
|
||||||
</adf-content-metadata-card>
|
</adf-content-metadata-card>
|
||||||
|
@@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
<adf-content-metadata-card
|
<adf-content-metadata-card
|
||||||
[readOnly]="!canUpdate(documentList.selection)"
|
[readOnly]="!canUpdate(documentList.selection)"
|
||||||
[displayEmpty]="true"
|
[displayEmpty]="canUpdate(documentList.selection)"
|
||||||
[preset]="'custom'"
|
[preset]="'custom'"
|
||||||
[node]="infoInstance.node">
|
[node]="infoInstance.node">
|
||||||
</adf-content-metadata-card>
|
</adf-content-metadata-card>
|
||||||
|
@@ -179,7 +179,7 @@
|
|||||||
|
|
||||||
<adf-content-metadata-card
|
<adf-content-metadata-card
|
||||||
[readOnly]="!canUpdate(documentList.selection)"
|
[readOnly]="!canUpdate(documentList.selection)"
|
||||||
[displayEmpty]="true"
|
[displayEmpty]="canUpdate(documentList.selection)"
|
||||||
[preset]="'custom'"
|
[preset]="'custom'"
|
||||||
[node]="infoInstance.node">
|
[node]="infoInstance.node">
|
||||||
</adf-content-metadata-card>
|
</adf-content-metadata-card>
|
||||||
|
@@ -196,7 +196,7 @@
|
|||||||
|
|
||||||
<adf-content-metadata-card
|
<adf-content-metadata-card
|
||||||
[readOnly]="!canUpdateShared(documentList.selection)"
|
[readOnly]="!canUpdateShared(documentList.selection)"
|
||||||
[displayEmpty]="true"
|
[displayEmpty]="canUpdateShared(documentList.selection)"
|
||||||
[preset]="'custom'"
|
[preset]="'custom'"
|
||||||
[node]="infoInstance.node">
|
[node]="infoInstance.node">
|
||||||
</adf-content-metadata-card>
|
</adf-content-metadata-card>
|
||||||
|
Reference in New Issue
Block a user