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