Make onclick work again on TransitViewSecret.
This commit is contained in:
parent
a7d415a074
commit
71eee5d31a
|
@ -20,7 +20,6 @@ export class TransitViewSecretPage extends Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
goBack(): void {
|
goBack(): void {
|
||||||
pageState.currentSecret = "";
|
|
||||||
changePage("TRANSIT_VIEW");
|
changePage("TRANSIT_VIEW");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +28,7 @@ export class TransitViewSecretPage extends Page {
|
||||||
return makeElement({
|
return makeElement({
|
||||||
tag: "a",
|
tag: "a",
|
||||||
class: "uk-link-heading",
|
class: "uk-link-heading",
|
||||||
onclick: onclick,
|
onclick: params.onclick,
|
||||||
children: makeElement({
|
children: makeElement({
|
||||||
tag: "div",
|
tag: "div",
|
||||||
class: ["uk-padding-small", "uk-background-primary"],
|
class: ["uk-padding-small", "uk-background-primary"],
|
||||||
|
@ -63,6 +62,7 @@ export class TransitViewSecretPage extends Page {
|
||||||
|
|
||||||
let transitKey = await getTransitKey(pageState.currentBaseMount, pageState.currentSecret);
|
let transitKey = await getTransitKey(pageState.currentBaseMount, pageState.currentSecret);
|
||||||
|
|
||||||
|
console.log(transitKey.supports_encryption);
|
||||||
setPageContent(makeElement({
|
setPageContent(makeElement({
|
||||||
tag: "div",
|
tag: "div",
|
||||||
class: ["uk-grid", "uk-child-width-expand@s"],
|
class: ["uk-grid", "uk-child-width-expand@s"],
|
||||||
|
|
Loading…
Reference in a new issue