[ACS-4146] Folder Rules bug fix: An empty list for a child folder is displayed instead of an empty content template (#2839)

* [ACS-4146] - functional implementation

* [ACS-4146] - unit tests

* [ACS-4146] - removed console.log()
This commit is contained in:
Nikita Maliarchuk
2022-12-07 13:43:48 +01:00
committed by GitHub
parent c3cbfb1e93
commit 86178c3a3a
4 changed files with 19 additions and 3 deletions

View File

@@ -115,4 +115,16 @@ export const inheritedRuleSetMock: RuleSet = {
loadingRules: false
};
export const inheritedRuleSetWithEmptyRulesMock: RuleSet = {
id: 'inherited-rule-set',
isLinkedTo: false,
owningFolder: otherFolderMock,
linkedToBy: [],
rules: [],
hasMoreRules: false,
loadingRules: false
};
export const ruleSetsMock: RuleSet[] = [inheritedRuleSetMock, ownedRuleSetMock, ruleSetWithLinkMock];
export const ruleSetsWithEmptyRulesMock: RuleSet[] = [inheritedRuleSetWithEmptyRulesMock];