mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
added page titles
This commit is contained in:
@@ -44,7 +44,10 @@ class AppLinkElement extends BaseComponentElement {
|
||||
};
|
||||
|
||||
get disabled(): boolean {
|
||||
return isTrue(this.goBack) && this.routerService.emptyState;
|
||||
if (isTrue(this.goBack)) {
|
||||
return this.routerService.emptyState;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
render = (): TemplateResult => {
|
||||
@@ -56,7 +59,7 @@ class AppLinkElement extends BaseComponentElement {
|
||||
>${this.title}</a
|
||||
>`
|
||||
: html`<a
|
||||
class="btn btn-link btn-disabled"
|
||||
class="btn btn-link"
|
||||
data-target="app-link.main"
|
||||
data-action="click:app-link#goTo"
|
||||
href="${this.to}"
|
||||
|
||||
Reference in New Issue
Block a user