Refactor Proxmox components: optimize data fetching in Server and Overview; enhance macro handling in Firewall; improve task data refresh logic in Statistics and views

This commit is contained in:
2026-03-14 11:44:46 -04:00
parent a8b6e5cfba
commit 91cdaf2a6b
7 changed files with 116 additions and 72 deletions

View File

@@ -1081,7 +1081,7 @@
@php
$taskHistoryExportRows = [];
@endphp
<div class="bg-background-secondary border border-neutral rounded-xl overflow-hidden" wire:poll.30s="$refresh" id="task-history-card">
<div class="bg-background-secondary border border-neutral rounded-xl overflow-hidden" wire:poll.30s="refreshTaskData" id="task-history-card">
<div class="p-6 border-b border-neutral flex items-center justify-between gap-3">
<h2 class="text-lg font-semibold flex items-center gap-2">
<x-ri-task-line class="size-5" />
@@ -1576,7 +1576,7 @@
@php
$lifecycleEventsExportRows = [];
@endphp
<div class="bg-background-secondary border border-neutral rounded-xl overflow-hidden" wire:poll.30s="$refresh" id="lifecycle-events-card">
<div class="bg-background-secondary border border-neutral rounded-xl overflow-hidden" wire:poll.30s="refreshTaskData" id="lifecycle-events-card">
<div class="p-6 border-b border-neutral flex items-center justify-between gap-3">
<h2 class="text-lg font-semibold flex items-center gap-2">
<x-ri-shut-down-line class="size-5" />