mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +00:00
Change more-info-dialog name to ha-more-info-dialog (#986)
* change more-info name to ha-more-info-dialog (like other dialogs) * rename element * fix closing tag
This commit is contained in:
parent
198e2dd11f
commit
2c79094fb4
@ -10,7 +10,7 @@
|
||||
<link rel='import' href='./more-info/more-info-controls.html'>
|
||||
<link rel='import' href='./more-info/more-info-settings.html'>
|
||||
|
||||
<dom-module id="more-info-dialog">
|
||||
<dom-module id="ha-more-info-dialog">
|
||||
<template>
|
||||
<style include="ha-style-dialog">
|
||||
paper-dialog {
|
||||
@ -77,8 +77,8 @@
|
||||
</dom-module>
|
||||
|
||||
<script>
|
||||
class MoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
|
||||
static get is() { return 'more-info-dialog'; }
|
||||
class HaMoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
|
||||
static get is() { return 'ha-more-info-dialog'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -155,5 +155,5 @@ class MoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
|
||||
return a === b;
|
||||
}
|
||||
}
|
||||
customElements.define(MoreInfoDialog.is, MoreInfoDialog);
|
||||
customElements.define(HaMoreInfoDialog.is, HaMoreInfoDialog);
|
||||
</script>
|
@ -7,7 +7,7 @@
|
||||
|
||||
<link rel='import' href='../layouts/partial-cards.html'>
|
||||
<link rel='import' href='../layouts/partial-panel-resolver.html'>
|
||||
<link rel="import" href="../dialogs/more-info-dialog.html">
|
||||
<link rel="import" href="../dialogs/ha-more-info-dialog.html">
|
||||
<link rel="import" href="../dialogs/ha-voice-command-dialog.html">
|
||||
<link rel='import' href='../util/ha-url-sync.html'>
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<more-info-dialog hass='[[hass]]'></more-info-dialog>
|
||||
<ha-more-info-dialog hass='[[hass]]'></ha-more-info-dialog>
|
||||
<ha-url-sync hass='[[hass]]'></ha-url-sync>
|
||||
<app-route
|
||||
route="{{route}}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user