Skip to content

Commit

Permalink
Fix for ading new policies
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjameson committed Mar 25, 2024
1 parent 8a55b85 commit 536d5d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2,500 deletions.
5 changes: 2 additions & 3 deletions src/providers/ConfigToolProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,8 @@ const ConfigToolProvider = (props: ConfigToolProviderProps) => {
};

const handleSetConfig = (configFile: ConfigFile) => {
if (!configFile.policies) {
configFile.policies = copyObject(policies);
}
configFile.policies = copyObject(policies);

if (!configFile.roles) {
configFile.roles = [];
}
Expand Down
Loading

0 comments on commit 536d5d5

Please sign in to comment.