PinCreate: close window on success

Fixes https://github.com/pinry/pinry/issues/246
This commit is contained in:
Alexandra Dunn
2021-01-22 21:58:31 -08:00
committed by Ji Qu
parent 06e4fad09f
commit 7a397136d6

View File

@@ -40,10 +40,7 @@ export default {
);
},
onCreated() {
this.$buefy.dialog.alert(
'Please turn off this page by hand since '
+ 'Javascript has no permission to do this',
);
window.close();
},
createPin() {
modals.openPinEdit(