Skip to content

Commit

Permalink
Merge pull request quarkusio#34970 from phillip-kruger/dev-ui-remove-…
Browse files Browse the repository at this point in the history
…link-to-old

Dev UI: Remove link to prev dev ui
  • Loading branch information
gsmet committed Jul 25, 2023
2 parents 0683853 + 366875c commit e787479
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ export class QwcHeader extends observeState(LitElement) {
this._rightSideNav = html`
<div class="app-info">
${devuiState.applicationInfo.applicationName} ${devuiState.applicationInfo.applicationVersion}
<vaadin-button theme="secondary" @click="${this._previousDevUI}">Back to the previous Dev UI</vaadin-button>
</div>`;
}
}
Expand Down Expand Up @@ -309,10 +308,5 @@ export class QwcHeader extends observeState(LitElement) {
notifier.showErrorMessage("Seems like your server is not available. <br/>Error : <code>" + error + "</code>","middle");
});
}

_previousDevUI(){
let pdui = this.routerController.getBasePath().replace("/dev-ui", "/dev-v1");;
window.open(pdui, "_self").focus();
}
}
customElements.define('qwc-header', QwcHeader);

0 comments on commit e787479

Please sign in to comment.