Enhancement: support new unifi network api and api key (#4860)

This commit is contained in:
shamoon 2025-03-01 11:25:34 -08:00 committed by GitHub
parent 7f910814f8
commit a8961c3345
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 17 deletions

View file

@ -38,7 +38,7 @@ export async function cleanWidgetGroups(widgets) {
}
});
// delete url from the sanitized options if the widget is not a search or glances widgeth
// delete url from the sanitized options if the widget is not a search or glances widget
if (widget.type !== "search" && widget.type !== "glances" && optionKeys.includes("url")) {
delete sanitizedOptions.url;
}