add Swedish

This commit is contained in:
HolgerHatGarKeineNode
2023-02-11 15:34:39 +01:00
parent 50cc183f8d
commit 504b635977

View File

@@ -65,7 +65,7 @@
@endif @endif
</div> </div>
<div class="flex space-x-1 text-sm text-gray-500 justify-end"> <div class="flex space-x-1 text-sm text-gray-500 justify-end">
@if($libraryItem->created_by == auth()->id() || auth()->user()->hasRole('news-editor')) @if($libraryItem->created_by == auth()->id() || auth()->user()?->hasRole('news-editor'))
<x-button xs :href="route('news.form', ['libraryItem' => $libraryItem])"> <x-button xs :href="route('news.form', ['libraryItem' => $libraryItem])">
<i class="fa fa-thin fa-edit"></i> <i class="fa fa-thin fa-edit"></i>
{{ __('Edit') }} {{ __('Edit') }}