From: Lukas Wagner <l.wagner@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 2/4] ui: views: submit config digest when updating a view
Date: Fri, 10 Apr 2026 16:01:17 +0200 [thread overview]
Message-ID: <20260410140119.338714-3-l.wagner@proxmox.com> (raw)
In-Reply-To: <20260410140119.338714-1-l.wagner@proxmox.com>
This ensures that the API can return an error in case somebody changed
the configuration in the meanwhile.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
ui/src/configuration/views.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/src/configuration/views.rs b/ui/src/configuration/views.rs
index 3f11911c..b8a1817d 100644
--- a/ui/src/configuration/views.rs
+++ b/ui/src/configuration/views.rs
@@ -192,6 +192,7 @@ impl ViewGridComp {
props.base_url,
percent_encode_component(&selection)
))
+ .submit_digest(true)
.on_done(ctx.link().callback(|_| Msg::Reload))
.into()
}
--
2.47.3
next prev parent reply other threads:[~2026-04-10 14:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 14:01 [PATCH datacenter-manager 0/4] views: verify digest, schema improvements Lukas Wagner
2026-04-10 14:01 ` [PATCH datacenter-manager 1/4] api: views: return config digest when retrieving views Lukas Wagner
2026-04-10 14:01 ` Lukas Wagner [this message]
2026-04-10 14:01 ` [PATCH datacenter-manager 3/4] api: views: run API handlers in proxy process Lukas Wagner
2026-04-10 14:01 ` [PATCH datacenter-manager 4/4] api: views: improve API schema definitions Lukas Wagner
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=20260410140119.338714-3-l.wagner@proxmox.com \
--to=l.wagner@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.