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:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user