Fix/dhcp config network sort (#25799)

* Add ip sort method to compare helper

* Add ip sort functionality to dhcp config panel datatable

* Add type ip to DataTableColumnData

* Change ip sorting to padStart method for better readablity

* Rename ip compare method to clarify ipv4

* Enhance IP compare method to include ipv6

* Add compare IP test
This commit is contained in:
Bastian
2025-06-20 14:01:02 +02:00
committed by GitHub
parent e9272b9a27
commit f47336392c
5 changed files with 92 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ export interface DataTableColumnData<T = any> extends DataTableSortColumnData {
label?: TemplateResult | string;
type?:
| "numeric"
| "ip"
| "icon"
| "icon-button"
| "overflow"