[pdm-devel] [PATCH datacenter-manager 1/5] ui: adapt to signature change of subscription_is_active

Dominik Csapak d.csapak at proxmox.com
Tue Dec 2 15:31:04 CET 2025


it takes an option of a reference, not a reference of an option

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ui/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/lib.rs b/ui/src/lib.rs
index 31068ab1..20dcec8b 100644
--- a/ui/src/lib.rs
+++ b/ui/src/lib.rs
@@ -241,7 +241,7 @@ pub(crate) fn locale_compare(first: String, second: &str, numeric: bool) -> std:
 /// Returns true if the global subscription checks succeeded
 pub async fn check_subscription() -> bool {
     let data: Result<Value, _> = http_get("/nodes/localhost/subscription", None).await;
-    proxmox_yew_comp::subscription_is_active(&Some(data))
+    proxmox_yew_comp::subscription_is_active(Some(&data))
 }
 
 /// Extract the version of a specific package from `RemoteUpdateSummary` for a specific node
-- 
2.47.3





More information about the pdm-devel mailing list