fix error if not logged in
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
{{ $revision->note }}
|
||||
</div>
|
||||
<div class="col-md-2 text-right">
|
||||
@if(!$isCurrent && user()->ownsTable($table))
|
||||
@if(!$isCurrent && authed() && user()->ownsTable($table))
|
||||
<a href="{{$table->actionRoute('revert-to', ['rev' => $num])}}" class="btn btn-outline-secondary btn-sm">Set as current</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user