diff --git a/packages/builder/src/components/backend/RoleEditor/RoleFlow.svelte b/packages/builder/src/components/backend/RoleEditor/RoleFlow.svelte index 6df8e342e9..c4679f4d44 100644 --- a/packages/builder/src/components/backend/RoleEditor/RoleFlow.svelte +++ b/packages/builder/src/components/backend/RoleEditor/RoleFlow.svelte @@ -48,7 +48,7 @@ const nodeToRole = node => { const role = $roles.find(x => x._id === node.id) const inherits = $edges.filter(x => x.target === node.id).map(x => x.source) - console.log(inherits) + // TODO save inherits array return { ...role, // inherits, diff --git a/packages/builder/src/stores/builder/roles.js b/packages/builder/src/stores/builder/roles.js index cb86991a9a..994f87a8d3 100644 --- a/packages/builder/src/stores/builder/roles.js +++ b/packages/builder/src/stores/builder/roles.js @@ -68,7 +68,6 @@ export function createRolesStore() { if (role?._id.startsWith("role_")) { role._id = role._id.replace("role_", "") } - console.log("replace", roleId, role) // Handles external updates of roles if (!roleId) {