Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion web/package/agama-web-ui.changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
-------------------------------------------------------------------
Mon Nov 04 20:32:29 UTC 2024 - David Diaz <dgonzalez@suse.com>
Tue Nov 5 11:33:12 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Fix a crash when editing a network connection containing an
additional IP address (gh#agama-project/agama#1728).

-------------------------------------------------------------------
Mon Nov 4 20:32:29 UTC 2024 - David Diaz <dgonzalez@suse.com>

- Add missing subscription to avoid Agama getting stuck at the installation
progress when the installation finishes
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const isValidIp = (value: IPAddress["address"]) => ipaddr.IPv4.isValidFourPartDe
* @return true if given IP is valid; false otherwise.
*/
const isValidIpPrefix = (value: IPAddress["prefix"]) => {
const prefix = value as string;
const prefix = String(value);

if (prefix.match(/^\d+$/)) {
return parseInt(prefix) <= 32;
Expand Down