feat: add browser event dispatch for page refresh after drive detachment
This commit is contained in:
@@ -864,4 +864,14 @@
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<script>
|
||||
document.addEventListener('livewire:initialized', () => {
|
||||
Livewire.on('refresh-page', () => {
|
||||
setTimeout(() => {
|
||||
window.location.reload();
|
||||
}, 500);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</x-proxmox::layout>
|
||||
|
||||
Reference in New Issue
Block a user