mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
🔥 remove more-info-updater (#4544)
* 🔥 remove more-info-updater
* remove reference
This commit is contained in:
parent
0f8cf574d3
commit
572215b359
@ -19,7 +19,6 @@ import "./more-info-media_player";
|
||||
import "./more-info-script";
|
||||
import "./more-info-sun";
|
||||
import "./more-info-timer";
|
||||
import "./more-info-updater";
|
||||
import "./more-info-vacuum";
|
||||
import "./more-info-water_heater";
|
||||
import "./more-info-weather";
|
||||
|
@ -1,41 +0,0 @@
|
||||
import { html } from "@polymer/polymer/lib/utils/html-tag";
|
||||
import { PolymerElement } from "@polymer/polymer/polymer-element";
|
||||
import LocalizeMixin from "../../../mixins/localize-mixin";
|
||||
|
||||
class MoreInfoUpdater extends LocalizeMixin(PolymerElement) {
|
||||
static get template() {
|
||||
return html`
|
||||
<style>
|
||||
.link {
|
||||
color: #03a9f4;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<a
|
||||
class="link"
|
||||
href="https://www.home-assistant.io/docs/installation/updating/"
|
||||
target="_blank"
|
||||
>[[localize('ui.dialogs.more_info_control.updater.title')]]</a
|
||||
>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
stateObj: {
|
||||
type: Object,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
computeReleaseNotes(stateObj) {
|
||||
return (
|
||||
stateObj.attributes.release_notes ||
|
||||
"https://www.home-assistant.io/docs/installation/updating/"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("more-info-updater", MoreInfoUpdater);
|
Loading…
x
Reference in New Issue
Block a user