From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager] ui: finish infinite loading screen on login when there is an invalid sub
Date: Thu, 19 Dec 2024 16:29:16 +0100 [thread overview]
Message-ID: <20241219152916.3705930-1-d.csapak@proxmox.com> (raw)
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
reply other threads:[~2024-12-19 15:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241219152916.3705930-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.