From 5fac7796f3a6f5daecf21056c04e4117e6a36945 Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Thu, 29 Feb 2024 17:36:50 +0100 Subject: [PATCH] Fix visible edit button for builtin objects --- .../src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte b/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte index 67f7e67f3..254aebad0 100644 --- a/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte +++ b/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte @@ -109,7 +109,7 @@ return ( canEditObject && !['Accepted', 'Rejected', 'Revoked'].includes(data.data.state) && - !data.data.urn + !data.data.urn && !data.data.builtin ); }; $: Object.entries(data.relatedModels).forEach(([key, value]) => {