Remove logs

This commit is contained in:
Andrew Kingston 2024-09-16 14:59:33 +01:00
parent c9c6d410c7
commit 3e2fdee186
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,7 @@
const nodeToRole = node => { const nodeToRole = node => {
const role = $roles.find(x => x._id === node.id) const role = $roles.find(x => x._id === node.id)
const inherits = $edges.filter(x => x.target === node.id).map(x => x.source) const inherits = $edges.filter(x => x.target === node.id).map(x => x.source)
console.log(inherits) // TODO save inherits array
return { return {
...role, ...role,
// inherits, // inherits,

View File

@ -68,7 +68,6 @@ export function createRolesStore() {
if (role?._id.startsWith("role_")) { if (role?._id.startsWith("role_")) {
role._id = role._id.replace("role_", "") role._id = role._id.replace("role_", "")
} }
console.log("replace", roleId, role)
// Handles external updates of roles // Handles external updates of roles
if (!roleId) { if (!roleId) {