* [pdm-devel] [PATCH datacenter-manager] ui: finish infinite loading screen on login when there is an invalid sub
@ 2024-12-19 15:29 Dominik Csapak
0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2024-12-19 15:29 UTC (permalink / raw)
To: pdm-devel
by disabling the subscription panel, we accidentally never get out
of the 'loading' state of the login. To fix that, simply set the same
conditions as when there was a valid subscription.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
ui/src/main.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ui/src/main.rs b/ui/src/main.rs
index 1e48fa5..2ba7d47 100644
--- a/ui/src/main.rs
+++ b/ui/src/main.rs
@@ -165,6 +165,8 @@ impl Component for DatacenterManagerApp {
// Disable for alpha and rework for a beta or stable version to avoid friction if a
// few unsubscribed test instances are present in another subscribed (big) setup.
// self.show_subscription_alert = Some(true);
+ self.subscription_confirmed = true;
+ self.show_subscription_alert = Some(false);
true
}
Msg::Logout => {
--
2.39.5
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-19 15:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-19 15:29 [pdm-devel] [PATCH datacenter-manager] ui: finish infinite loading screen on login when there is an invalid sub Dominik Csapak
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.