Refactor interaction requirement. Add indicator
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// Loads in ha-config-dashboard which is used to copy styling
|
||||
// Also provides ha-settings-row
|
||||
export const loadDevTools = async () => {
|
||||
if (customElements.get("ha-config-dashboard")) return;
|
||||
const ppResolver = document.createElement("partial-panel-resolver");
|
||||
|
||||
@@ -134,9 +134,6 @@ loadDevTools().then(() => {
|
||||
>
|
||||
<ha-icon .icon=${"mdi:delete"}></ha-icon>
|
||||
</ha-icon-button>
|
||||
<ha-icon-button>
|
||||
<ha-icon .icon=${"mdi:wrench"}></ha-icon>
|
||||
</ha-icon-button>
|
||||
</ha-settings-row>`
|
||||
)}
|
||||
</div>
|
||||
@@ -144,10 +141,6 @@ loadDevTools().then(() => {
|
||||
|
||||
<ha-card outlined header="Tweaks">
|
||||
<div class="card-content">
|
||||
<ha-settings-row>
|
||||
<span slot="heading">Auto enable devices</span>
|
||||
<ha-switch></ha-switch>
|
||||
</ha-settings-row>
|
||||
<ha-settings-row>
|
||||
<span slot="heading">User sidebar</span>
|
||||
<span slot="description"
|
||||
|
||||
Reference in New Issue
Block a user