mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* Fixed theaming issue on the filters* Fixed fixed clear action default value. (#4980)
This commit is contained in:
committed by
Eugenio Romano
parent
e4426e61a0
commit
d51e22f9f4
@@ -91,15 +91,15 @@ export class CardViewDateItemComponent implements OnInit, OnDestroy {
|
||||
this.onDestroy$.complete();
|
||||
}
|
||||
|
||||
showProperty() {
|
||||
showProperty(): boolean {
|
||||
return this.displayEmpty || !this.property.isEmpty();
|
||||
}
|
||||
|
||||
showClearAction() {
|
||||
return !this.property.isEmpty() && this.displayClearAction;
|
||||
showClearAction(): boolean {
|
||||
return this.displayClearAction && (!this.property.isEmpty() || !!this.property.default);
|
||||
}
|
||||
|
||||
isEditable() {
|
||||
isEditable(): boolean {
|
||||
return this.editable && this.property.editable;
|
||||
}
|
||||
|
||||
@@ -122,6 +122,7 @@ export class CardViewDateItemComponent implements OnInit, OnDestroy {
|
||||
this.valueDate = null;
|
||||
this.cardViewUpdateService.update(this.property, null);
|
||||
this.property.value = null;
|
||||
this.property.default = null;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user