Browse Source

add better debug logging for web-push info

design-tweaks-2023-12
Trent Larson 11 months ago
parent
commit
97ef78f5dd
  1. 5
      src/views/AccountViewView.vue

5
src/views/AccountViewView.vue

@ -945,7 +945,10 @@ export default class AccountViewView extends Vue {
} }
alertWebPushSubscription() { alertWebPushSubscription() {
console.log("Web push subscription:", this.subscription); console.log(
"Web push subscription:",
JSON.parse(JSON.stringify(this.subscription)), // gives more info than plain console logging
);
alert(JSON.stringify(this.subscription)); alert(JSON.stringify(this.subscription));
} }
} }

Loading…
Cancel
Save