Feature: Add board creation

+ Refactor form-error settings and reset function
This commit is contained in:
winkidney
2019-12-05 00:49:07 +08:00
committed by Isaac Bythewood
parent b3a065a4fb
commit 41cac8e784
6 changed files with 174 additions and 24 deletions

View File

@@ -33,6 +33,7 @@
Pin
</a>
<a
@click="createBoard"
class="navbar-item">
Board
</a>
@@ -141,6 +142,9 @@ export default {
createPin() {
modals.openPinCreate(this, this.onPinCreated);
},
createBoard() {
modals.openBoardCreate(this);
},
signUp() {
modals.openSignUp(this, this.onSignUpSucceed);
},