[pdm-devel] [PATCH datacenter-manager 09/21] ui: pve wizard: rename 'realm' variable to 'info'
Dominik Csapak
d.csapak at proxmox.com
Fri May 16 15:35:59 CEST 2025
these are not only realms but general connection parameters, so rename
the variable to a less confusing name.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
ui/src/remotes/add_wizard.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/src/remotes/add_wizard.rs b/ui/src/remotes/add_wizard.rs
index f4bf9a3..27cf9b6 100644
--- a/ui/src/remotes/add_wizard.rs
+++ b/ui/src/remotes/add_wizard.rs
@@ -77,8 +77,8 @@ impl Component for AddWizardState {
Msg::ServerChange(server_info) => {
self.server_info = server_info;
}
- Msg::ConnectChange(realms) => {
- self.connect_info = realms;
+ Msg::ConnectChange(info) => {
+ self.connect_info = info;
}
}
true
@@ -110,11 +110,11 @@ impl Component for AddWizardState {
},
)
.with_page(TabBarItem::new().key("info").label(tr!("Settings")), {
- let realms = self.connect_info.clone();
+ let info = self.connect_info.clone();
let link = ctx.link().clone();
move |p: &WizardPageRenderInfo| {
WizardPageInfo::new(p.clone())
- .connect_info(realms.clone())
+ .connect_info(info.clone())
.on_server_change(link.callback(Msg::ServerChange))
.into()
}
--
2.39.5
More information about the pdm-devel
mailing list