Skip to content

Commit

Permalink
Merge pull request #96 from intuitem/fix_visible_edit_button_for_buil…
Browse files Browse the repository at this point in the history
…tin_objects

Fix visible edit button for builtin objects
  • Loading branch information
Mohamed-Hacene authored Mar 1, 2024
2 parents 7ee50b2 + 5fac779 commit 8a793e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]) => {
Expand Down

0 comments on commit 8a793e1

Please sign in to comment.