From 3e2fdee1864d7b1ac336285eafab34659382ea0d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 16 Sep 2024 14:59:33 +0100 Subject: [PATCH] Remove logs --- .../builder/src/components/backend/RoleEditor/RoleFlow.svelte | 2 +- packages/builder/src/stores/builder/roles.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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) {