This commit is contained in:
Benjamin Takats
2023-01-15 21:28:17 +01:00
parent 75377126d2
commit ea05c93365

View File

@@ -148,7 +148,7 @@
#{{ $loop->iteration }} Bild
</button>
@if(auth()->user()->hasRole('super-admin'))
@if(auth()->user()->hasRole('super-admin') || app()->environment('local'))
<x-button wire:click="deletePhoto({{ $image->id }})" xs
x-bind="focusableWhenVisible"
class="px-4 py-2 text-sm">
@@ -186,19 +186,19 @@
<div class="rounded" wire:ignore>
@map([
'lat' => $bookCase->latitude,
'lng' => $bookCase->longitude,
'zoom' => 24,
'markers' => [
[
'title' => $bookCase->title,
'lat' => $bookCase->latitude,
'lng' => $bookCase->longitude,
'url' => 'https://gonoware.com',
'icon' => asset('img/btc-logo-6219386_1280.png'),
'icon_size' => [42, 42],
],
],
'lat' => $bookCase->latitude,
'lng' => $bookCase->longitude,
'zoom' => 24,
'markers' => [
[
'title' => $bookCase->title,
'lat' => $bookCase->latitude,
'lng' => $bookCase->longitude,
'url' => 'https://gonoware.com',
'icon' => asset('img/btc-logo-6219386_1280.png'),
'icon_size' => [42, 42],
],
],
])
</div>