forked from trent_larson/crowd-funder-for-time-pwa
add better debug logging for web-push info
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user