Use actual intention for permission check intentions edit (#14113)

This commit is contained in:
Michael Klein 2022-08-10 20:02:43 +02:00 committed by GitHub
parent a5b6f9123e
commit c30fce54c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ as |route|>
<BlockSlot @name="loaded">
{{#let
loader.data
(not (can "write intention" item=item))
(not (can "write intention" item=loader.data))
as |item readOnly|}}
<AppView>
<BlockSlot @name="breadcrumbs">