|
|
@ -91,7 +91,6 @@ function PermisssionsSettings ({ pluginSettings }: PermissionSettingsProps) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
console.log({ permissions }) |
|
|
|
|
|
|
|
}, [Object.keys(permissions).length]) |
|
|
|
}, [Object.keys(permissions).length]) |
|
|
|
function clearAllPersmissions (pluginName: string, topLevelPluginName: string, funcName: string) { |
|
|
|
function clearAllPersmissions (pluginName: string, topLevelPluginName: string, funcName: string) { |
|
|
|
const permissionsCopy = permissions // don't mutate state
|
|
|
|
const permissionsCopy = permissions // don't mutate state
|
|
|
|