Commit a43f42c15fa9f5ce57cac15e0014fed14d75d2a8
Exists in
master
Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su
Showing 1 changed file Side-by-side Diff
resources/views/admin/worker/index.blade.php
... | ... | @@ -100,7 +100,10 @@ |
100 | 100 | </td> |
101 | 101 | <td class="px-4 py-3 text-sm"> |
102 | 102 | @if ($user->id > 1) |
103 | + @if (isset($user->workers[0]->id)) | |
103 | 104 | <a href="{{ route('admin.worker-profile-edit', ['worker' => $user->workers[0]->id]) }}">Изменить</a> |
105 | + | |
106 | + @endif | |
104 | 107 | @endif |
105 | 108 | </td> |
106 | 109 | <td class="px-4 py-3 text-sm"> |