mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[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:
committed by
GitHub
parent
c3cbfb1e93
commit
86178c3a3a
@@ -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];
|
||||
|
Reference in New Issue
Block a user