coolify/resources/views/livewire/project/database
Andras Bacsai eda0d13399 fix: prevent Livewire snapshot error in database restore modal
Wrap ActivityMonitor components in wire:ignore to prevent parent component
re-renders from destroying the Livewire component and causing "Snapshot missing"
errors in production mode.

The issue occurred when toggling the "Backup includes all databases" checkbox
during database restore operations. The checkbox uses wire:model.live which
triggers immediate parent re-renders, destroying the nested ActivityMonitor
component in the slide-over.

Changes:
- Wrap ActivityMonitor in wire:ignore div in import.blade.php
- Apply same fix preventatively to heading.blade.php

wire:ignore prevents Livewire from re-rendering the DOM inside the wrapper,
while still allowing event listeners and Alpine.js functionality to work
correctly. The existing reset logic (slideOverClosed event) continues to
function properly.

Fixes #7335

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 09:21:32 +01:00
..
backup feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
clickhouse feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
dragonfly feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
keydb feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
mariadb refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
mongodb refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
mysql refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
postgresql fix: clean up input attributes for PostgreSQL settings in general.blade.php 2025-11-04 21:06:12 +01:00
redis refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
backup-edit.blade.php fix: remove unnecessary step attribute from maximum storage input fields 2025-10-29 20:43:32 +01:00
backup-executions.blade.php feat: add S3 storage integration for file import 2025-11-14 10:43:19 +01:00
backup-now.blade.php fix: update Livewire button click method to use camelCase 2025-01-07 11:03:23 +01:00
configuration.blade.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
create-scheduled-backup.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
heading.blade.php fix: prevent Livewire snapshot error in database restore modal 2025-11-28 09:21:32 +01:00
import.blade.php fix: prevent Livewire snapshot error in database restore modal 2025-11-28 09:21:32 +01:00
init-script.blade.php fix indexing after deletion and make sure init script is removed form the server 2024-10-18 20:51:51 +02:00
scheduled-backups.blade.php feat: add S3 storage integration for file import 2025-11-14 10:43:19 +01:00