[pve-devel] applied: [PATCH widget-toolkit] pending object grid: don't fall back to empty string for 0 values

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 17 13:59:53 CET 2025


On Mon, 17 Nov 2025 12:21:00 +0100, Dominik Csapak wrote:
> if we have a value that is set to `0` (the number, not the string),
> the default pending object grid renderer would overwrite that with the
> empty string, since `0` does not evaluate to true.
> 
> Instead, use the `Nullish coalescing operator` (??) to overwrite the
> value with only when it's null or undefined.
> 
> [...]

Applied, thanks!

[1/1] pending object grid: don't fall back to empty string for 0 values
      commit: 2a66b4ef7b993df4df1324f5a1158065c9467e70




More information about the pve-devel mailing list