conditional empty fields rendering (#263)

This commit is contained in:
Cilibiu Bogdan
2018-03-28 13:44:36 +03:00
committed by Denys Vuika
parent 330b795aa6
commit b560f19913
4 changed files with 4 additions and 4 deletions

View File

@@ -190,7 +190,7 @@
<adf-content-metadata-card
[readOnly]="!canUpdate(documentList.selection)"
[displayEmpty]="true"
[displayEmpty]="canUpdate(documentList.selection)"
[preset]="'custom'"
[node]="infoInstance.node">
</adf-content-metadata-card>

View File

@@ -194,7 +194,7 @@
<adf-content-metadata-card
[readOnly]="!canUpdate(documentList.selection)"
[displayEmpty]="true"
[displayEmpty]="canUpdate(documentList.selection)"
[preset]="'custom'"
[node]="infoInstance.node">
</adf-content-metadata-card>

View File

@@ -179,7 +179,7 @@
<adf-content-metadata-card
[readOnly]="!canUpdate(documentList.selection)"
[displayEmpty]="true"
[displayEmpty]="canUpdate(documentList.selection)"
[preset]="'custom'"
[node]="infoInstance.node">
</adf-content-metadata-card>

View File

@@ -196,7 +196,7 @@
<adf-content-metadata-card
[readOnly]="!canUpdateShared(documentList.selection)"
[displayEmpty]="true"
[displayEmpty]="canUpdateShared(documentList.selection)"
[preset]="'custom'"
[node]="infoInstance.node">
</adf-content-metadata-card>