close button + resest error

This commit is contained in:
Hayden 2021-01-06 08:39:48 -09:00
parent 9612a6b24d
commit 0fe26128ff

View File

@ -19,7 +19,8 @@
<v-card-actions> <v-card-actions>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn color="primary" text @click="createRecipe"> Submit </v-btn> <v-btn color="grey" text @click="reset"> Close </v-btn>
<v-btn color="success" text @click="createRecipe"> Submit </v-btn>
</v-card-actions> </v-card-actions>
</v-card> </v-card>
</v-dialog> </v-dialog>
@ -73,10 +74,11 @@ export default {
}, },
reset() { reset() {
(this.fab = false), this.fab = false;
(this.addRecipe = false), this.error = false;
(this.recipeURL = ""), this.addRecipe = false;
(this.processing = false); this.recipeURL = "";
this.processing = false;
}, },
}, },
}; };