m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-15 16:43:49 -05:00

feat: add new filter for in use images to web ui

This commit is contained in:
Raphaël C.
2025-04-27 17:48:11 +02:00
committed by Sergio
parent 4b3bf9bd8f
commit c8229d7370
14 changed files with 170 additions and 12 deletions

View File

@@ -38,6 +38,7 @@ pub struct Image {
pub url: Option<String>,
pub digest_info: Option<DigestInfo>,
pub version_info: Option<VersionInfo>,
pub in_use: bool,
pub error: Option<String>,
pub time_ms: u32,
}
@@ -221,6 +222,7 @@ impl Image {
},
time: self.time_ms,
server: None,
in_use: self.in_use,
status: has_update,
}
}