mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2645] Shared - don't render shared settings action for multiple selection (#1141)
* check if is single selection * tests
This commit is contained in:
committed by
Denys Vuika
parent
9176cf993c
commit
16b7eee621
@@ -114,7 +114,7 @@ export function canEditFolder(context: RuleContext): boolean {
|
||||
* JSON ref: `app.selection.file.isShared`
|
||||
*/
|
||||
export function isShared(context: RuleContext): boolean {
|
||||
if (navigation.isSharedFiles(context) && !context.selection.isEmpty) {
|
||||
if (navigation.isSharedFiles(context) && context.selection.file) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user