mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 12:16:39 +00:00
Fix not found category
This commit is contained in:
parent
960e0dd9e0
commit
35d53f18ae
@ -224,6 +224,8 @@ export class HaCategoryPicker extends SubscribeMixin(LitElement) {
|
||||
|
||||
if (newValue === NO_CATEGORIES_ID) {
|
||||
newValue = "";
|
||||
this.comboBox.setInputValue("");
|
||||
return;
|
||||
}
|
||||
|
||||
if (![ADD_NEW_SUGGESTION_ID, ADD_NEW_ID].includes(newValue)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user