Skip to content

Commit

Permalink
bugfix added for moving a record to other collection
Browse files Browse the repository at this point in the history
  • Loading branch information
shraddha404 committed Apr 19, 2024
1 parent 5153738 commit 28e31cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resources/views/document-details.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ function showDeleteDialog(){
$all_collections = \App\Collection::all();
@endphp
@if(Auth::user() && Auth::user()->hasRole('admin'))
@if ($document->collection->parent_id || $document->collection->children->count() > 0)
<div class="col-md-12" id="accordion">
<h3>Actions</h3>
<form method="post" action="/collection/move_document">
Expand All @@ -462,7 +461,6 @@ function showDeleteDialog(){
</form>
</div>
@endif
@endif


</div>
Expand Down

0 comments on commit 28e31cd

Please sign in to comment.