Skip to content

Commit

Permalink
fix compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
creeper123123321 committed Jun 6, 2024
1 parent 48fbe5b commit 2462d26
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/main/typescript/js/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,16 @@ function authNotification(msg: string, yes: () => void, no: () => void) {
// @ts-ignore
let tag = uuid.v4();
navigator.serviceWorker.ready.then(r => {
r.showNotification("Click to allow auth impersonation", {
body: msg,
tag: tag,
vibrate: [200, 10, 100, 200, 100, 10, 100, 10, 200],
actions: [
{action: "reject", title: "Reject"},
{action: "confirm", title: "Confirm"}
]
}).then(() => {
val options = {

Check failure on line 365 in src/main/typescript/js/page.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected keyword or identifier.
body: msg,
tag: tag,
vibrate: [200, 10, 100, 200, 100, 10, 100, 10, 200],
actions: [
{action: "reject", title: "Reject"},
{action: "confirm", title: "Confirm"}
]
}
r.showNotification("Click to allow auth impersonation", options).then(() => {
});
notificationCallbacks.set(tag, action => {
if (action === "reject") {
Expand Down

0 comments on commit 2462d26

Please sign in to comment.