mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Fixes the "Snapshot missing on Livewire component" error that occurs when toggling the "Backup includes all databases" checkbox during MariaDB database import operations. Root Cause: - ActivityMonitor component was initialized without proper lifecycle hooks - When parent Import component re-rendered (via checkbox toggle), the ActivityMonitor's Livewire snapshot became stale - Missing null checks caused errors when querying with undefined activityId - No state cleanup when slide-over closed, causing issues on subsequent opens Changes: - Add updatedActivityId() lifecycle hook to ActivityMonitor for proper hydration - Add defensive null check in hydrateActivity() to prevent query errors - Track activityId in Import component for state management - Add slideOverClosed event dispatch in slide-over component - Add event listener in Import component to reset activityId on close Testing: - Manually verify checkbox toggle doesn't trigger popup - Verify actual restore operations work correctly - Test both file-based and S3-based restore methods - Ensure X button properly closes the modal - Verify no console errors or Livewire warnings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| applications | ||
| emails | ||
| forms | ||
| notification | ||
| resources | ||
| security | ||
| server | ||
| services | ||
| settings | ||
| status | ||
| team | ||
| banner.blade.php | ||
| boarding-progress.blade.php | ||
| boarding-step.blade.php | ||
| callout.blade.php | ||
| chevron-down.blade.php | ||
| confirm-modal.blade.php | ||
| domain-conflict-modal.blade.php | ||
| dropdown.blade.php | ||
| environment-variable-warning.blade.php | ||
| external-link.blade.php | ||
| git-icon.blade.php | ||
| helper.blade.php | ||
| highlighted.blade.php | ||
| internal-link.blade.php | ||
| layout-simple.blade.php | ||
| layout.blade.php | ||
| limit-reached.blade.php | ||
| loading-on-button.blade.php | ||
| loading.blade.php | ||
| modal-confirmation.blade.php | ||
| modal-input.blade.php | ||
| modal.blade.php | ||
| navbar.blade.php | ||
| page-loading.blade.php | ||
| popup-small.blade.php | ||
| popup.blade.php | ||
| pricing-plans.blade.php | ||
| resource-view.blade.php | ||
| slide-over.blade.php | ||
| toast.blade.php | ||
| use-magic-bar.blade.php | ||
| version.blade.php | ||