mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACS-4630] Fix no different rule is selected when rule is deleted (#2824)
* [ACS-4630] Fix no different rule is selected when rule is deleted * Add unit test * Some tests were failing due to objects with same references being used across different tests
This commit is contained in:
@@ -210,6 +210,7 @@ export class FolderRuleSetsService {
|
||||
this.mainRuleSet = null;
|
||||
this.mainRuleSetSource.next(this.mainRuleSet);
|
||||
}
|
||||
this.folderRulesService.selectRule(this.mainRuleSet?.rules[0] ?? this.inheritedRuleSets[0]?.rules[0] ?? null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user