mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
Update src/panels/developer-tools/service/developer-tools-service.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
c4fd846451
commit
1fbd3a71c0
@ -200,13 +200,13 @@ class HaPanelDevService extends LitElement {
|
||||
return false;
|
||||
}
|
||||
|
||||
this._error = undefined;
|
||||
if (hasTemplate(this._serviceData!)) {
|
||||
this._error = this.hass.localize(
|
||||
"ui.panel.developer-tools.tabs.services.no_templates"
|
||||
);
|
||||
return false;
|
||||
}
|
||||
this._error = undefined;
|
||||
|
||||
const domain = computeDomain(serviceData.service);
|
||||
const service = computeObjectId(serviceData.service);
|
||||
|
Loading…
x
Reference in New Issue
Block a user