mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Show toast on success save entity settings (#3763)
This commit is contained in:
parent
c617cb5b12
commit
cd2b92a449
@ -11,6 +11,7 @@ import LocalizeMixin from "../../mixins/localize-mixin";
|
||||
import computeStateName from "../../common/entity/compute_state_name";
|
||||
import computeDomain from "../../common/entity/compute_domain";
|
||||
import { updateEntityRegistryEntry } from "../../data/entity_registry";
|
||||
import { showSaveSuccessToast } from "../../util/toast-saved-success";
|
||||
|
||||
import "../../components/ha-paper-icon-button-arrow-prev";
|
||||
/*
|
||||
@ -123,6 +124,8 @@ class MoreInfoSettings extends LocalizeMixin(EventsMixin(PolymerElement)) {
|
||||
}
|
||||
);
|
||||
|
||||
showSaveSuccessToast(this, this.hass);
|
||||
|
||||
this.registryInfo = info;
|
||||
|
||||
// Keep the more info dialog open at the new entity.
|
||||
|
Loading…
x
Reference in New Issue
Block a user