Added note when an object is unknown

refs https://github.com/TryGhost/Toolbox/issues/356

- this can occur when the ID in the action event is unknown in the DB,
  and we don't have any other context for it
This commit is contained in:
Daniel Lockyer 2022-08-22 15:49:20 +02:00
parent 68030d4d52
commit b9a42bcb1c
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -28,6 +28,8 @@
<LinkTo @route="editor.edit" @models={{array ev.resource.displayName ev.resource.id}} class="permalink">
<strong>{{if ev.resource.title ev.resource.title ev.resource.name}}</strong>
</LinkTo>
{{else}}
<small>(unknown)</small>
{{/if}}
</span>
</div>