Feature: PinEdit works well

This commit is contained in:
winkidney
2019-12-07 20:59:03 +08:00
committed by Isaac Bythewood
parent bb4522829d
commit a7670892f0
5 changed files with 86 additions and 31 deletions

View File

@@ -127,8 +127,6 @@ export default {
onSignUpSucceed() {
this.initializeUser(true);
},
onPinCreated() {
},
logOut() {
api.User.logOut().then(
() => {
@@ -140,9 +138,8 @@ export default {
modals.openLogin(this, this.onLoginSucceed);
},
createPin() {
modals.openPinCreate(
modals.openPinEdit(
this,
this.onPinCreated,
{ username: this.user.meta.username },
);
},