mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-5124] Show counter only when attaching files (#7011)
* [AAE-5124] Show counter only when attaching files * Reset package-lock.json * Add another unit test * Fix unit test
This commit is contained in:
@@ -111,6 +111,10 @@ export class ContentNodeSelectorComponent implements OnInit {
|
||||
return this.chosenNode?.length || 0;
|
||||
}
|
||||
|
||||
isCounterVisible(): boolean {
|
||||
return this.action === 'ATTACH' || this.action === 'CHOOSE';
|
||||
}
|
||||
|
||||
isMultipleSelection(): boolean {
|
||||
return this.data.selectionMode === 'multiple';
|
||||
}
|
||||
|
Reference in New Issue
Block a user