Skip to content

Commit

Permalink
Hide bookmark when creating frag
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCavens committed Apr 8, 2022
1 parent c09ee28 commit e499ef2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/layout/sidebar/fragment.blade.php
Expand Up @@ -4,7 +4,9 @@
{{ ucfirst($resource->getLabel()) }}
</p>

@include('chief::layout._partials.fragment_bookmarks')
@if($model->fragmentModel()->exists)
@include('chief::layout._partials.fragment_bookmarks')
@endif
</div>

{!! $slot !!}
Expand Down

0 comments on commit e499ef2

Please sign in to comment.