mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
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:
@@ -72,6 +72,7 @@ export interface DataTableColumnData<T = any> extends DataTableSortColumnData {
|
||||
label?: TemplateResult | string;
|
||||
type?:
|
||||
| "numeric"
|
||||
| "ip"
|
||||
| "icon"
|
||||
| "icon-button"
|
||||
| "overflow"
|
||||
|
||||
Reference in New Issue
Block a user