mirror of
https://git.proxmox.com/git/ui/proxmox-yew-comp.git
synced 2026-03-28 01:40:33 +00:00
No description
setting expire to "0" is a special case meaning "never expires". while this was honored in the user management overview, the edit panel rendered this as 01.01.1970 00:00:00 UTC, or the Unix epoch. this had minimal functional impact, but it may be confusing to users. set expire to `Value::Null` in this special case, rendering a cleared date picker. also the expire field is typically an `Option<i64>` [1]. so instead of interpreting it as a `f64` and then casting it back to an `i64` when rendering the input date, interpret it as an `i64` straight away. [1]: https://git.proxmox.com/?p=proxmox.git;a=blob;f=proxmox-access-control/src/types.rs;h=78eafb4c9d1e;hb=HEAD#l218 Signed-off-by: Shannon Sterz <s.sterz@proxmox.com> Link: https://lore.proxmox.com/20260325121516.164312-1-s.sterz@proxmox.com |
||
|---|---|---|
| .cargo | ||
| debian | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| js-helper-module.js | ||
| Makefile | ||
| TODO.md | ||