mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 00:17:16 +00:00
feat(ui): show S3 backup status and move domain action
Eager-load S3 on volume backup lists and add an S3 status column with Configured/Unavailable/Not set badges. Surface Local vs S3 on the persistent storages backup column. Move service resource domain links to a globe action in the card footer, and update related tests and grid CSS.
This commit is contained in:
1 parent
d68b198d53
commit
4539d1442e
12 files changed
+82
-24
No files matched your search
@@ -28,7 +28,7 @@ class All extends Component
|
||||
/**
|
||||
* Precomputed per-volume backup badge/link data.
|
||||
*
|
||||
* @var array<int, array{enabled: bool, url: ?string}>
|
||||
* @var array<int, array{enabled: bool, s3: bool, url: ?string}>
|
||||
*/
|
||||
public array $volumeBackupMeta = [];
|
||||
|
||||
@@ -241,6 +241,7 @@ class All extends Component
|
||||
|
||||
$this->volumeBackupMeta[(int) $storage->id] = [
|
||||
'enabled' => $enabled,
|
||||
's3' => $enabled && (bool) $backup?->save_s3,
|
||||
'url' => $url,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user