Skip to content

Commit bdbecf3

Browse files
authored
fix: prevent Livewire snapshot error in database restore (#7385)
2 parents 93771b9 + eda0d13 commit bdbecf3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

resources/views/livewire/project/database/heading.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<x-slide-over @startdatabase.window="slideOverOpen = true" closeWithX fullScreen>
44
<x-slot:title>Database Startup</x-slot:title>
55
<x-slot:content>
6-
<livewire:activity-monitor header="Logs" fullHeight />
6+
<div wire:ignore>
7+
<livewire:activity-monitor header="Logs" fullHeight />
8+
</div>
79
</x-slot:content>
810
</x-slide-over>
911
<div class="navbar-main">

resources/views/livewire/project/database/import.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ class="flex-1 p-6 border-2 rounded-sm cursor-pointer transition-all"
225225
<x-slide-over @databaserestore.window="slideOverOpen = true" closeWithX fullScreen>
226226
<x-slot:title>Database Restore Output</x-slot:title>
227227
<x-slot:content>
228-
<livewire:activity-monitor wire:key="database-restore-{{ $resource->uuid }}" header="Logs" fullHeight />
228+
<div wire:ignore>
229+
<livewire:activity-monitor wire:key="database-restore-{{ $resource->uuid }}" header="Logs" fullHeight />
230+
</div>
229231
</x-slot:content>
230232
</x-slide-over>
231233
@else

0 commit comments

Comments
 (0)