Skip to content

Commit

Permalink
only show allowed options in lists – this is for the move menu, but a…
Browse files Browse the repository at this point in the history
…ffects all entity lists, unfortunately
  • Loading branch information
CaffeineSheep committed Mar 23, 2023
1 parent 832cd7c commit 021d22d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/entities/list-item.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@if(!($locked ?? false))
@component('entities.list-item-basic', ['entity' => $entity, 'classes' => (($locked ?? false) ? 'disabled ' : '') . ($classes ?? ''), 'showQuickAdd' => $showQuickAdd ?? false, ])

<div class="entity-item-snippet">
Expand Down Expand Up @@ -38,4 +39,5 @@
</small>
@endif

@endcomponent
@endcomponent
@endif

0 comments on commit 021d22d

Please sign in to comment.