Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/panels/developer-tools/developer-tools-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DeveloperToolsRouter extends HassRouterPage {
beforeRender: (page) => {
if (!page || page === "not_found") {
// If we can, we are going to restore the last visited page.
return this._currentPage ? this._currentPage : "state";
return this._currentPage ? this._currentPage : "yaml";
}
return undefined;
},
Expand Down
6 changes: 3 additions & 3 deletions src/panels/developer-tools/ha-panel-developer-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class PanelDeveloperTools extends LitElement {
.selected=${page}
@iron-activate=${this.handlePageSelected}
>
<paper-tab page-name="yaml">
${this.hass.localize("ui.panel.developer-tools.tabs.yaml.title")}
</paper-tab>
<paper-tab page-name="state">
${this.hass.localize(
"ui.panel.developer-tools.tabs.states.title"
Expand All @@ -67,9 +70,6 @@ class PanelDeveloperTools extends LitElement {
"ui.panel.developer-tools.tabs.statistics.title"
)}
</paper-tab>
<paper-tab page-name="yaml">
${this.hass.localize("ui.panel.developer-tools.tabs.yaml.title")}
</paper-tab>
</ha-tabs>
</app-header>
<developer-tools-router
Expand Down