Commit f5329b707cdfc7d36a22f6648739804d946b1dcf
1 parent
dcbf19cba4
Exists in
master
and in
2 other branches
added form reset to announcement
Showing
6 changed files
with
9 additions
and
7 deletions
Show diff stats
index.html
src/App.vue
... | ... | @@ -4,10 +4,10 @@ |
4 | 4 | <!-- Go to top --> |
5 | 5 | <v-app id="inspire" class="app"> |
6 | 6 | <app-drawer class="app--drawer"></app-drawer> |
7 | - <v-content> | |
7 | + <v-content > | |
8 | 8 | <div class="page-wrapper"> |
9 | 9 | <!-- Header toolbar with Seacrh --> |
10 | - <app-toolbar class="app--toolbar"></app-toolbar> | |
10 | + <app-toolbar class="app--toolbar" ></app-toolbar> | |
11 | 11 | <router-view :key="$route.fullPath"></router-view> |
12 | 12 | </div> |
13 | 13 | <!-- App Footer --> | ... | ... |
src/components/pageHeader/AppDrawer.vue
src/pages/Annoucement/annoucement.vue
... | ... | @@ -323,7 +323,7 @@ |
323 | 323 | <v-layout> |
324 | 324 | <v-flex xs12> |
325 | 325 | <label class="title text-xs-center">Add Annoucement</label> |
326 | - <v-icon size="24" class="right" @click="addAnnoucementDialog = false">cancel</v-icon> | |
326 | + <v-icon size="24" class="right" @click="$refs.form.reset();addAnnoucementDialog = false">cancel</v-icon> | |
327 | 327 | </v-flex> |
328 | 328 | </v-layout> |
329 | 329 | <v-container fluid> | ... | ... |
src/pages/Attendence/studentAttendence.vue
... | ... | @@ -121,7 +121,7 @@ |
121 | 121 | <v-layout> |
122 | 122 | <v-flex xs12> |
123 | 123 | <label class="title text-xs-center">Add Student Attendence</label> |
124 | - <v-icon size="24" class="right" @click="addStudentAttendenceDialog = false">cancel</v-icon> | |
124 | + <v-icon size="24" class="right" @click="$refs.form.reset();addStudentAttendenceDialog = false">cancel</v-icon> | |
125 | 125 | </v-flex> |
126 | 126 | </v-layout> |
127 | 127 | <v-flex xs12 class="mt-4"> |
... | ... | @@ -437,7 +437,8 @@ export default { |
437 | 437 | }, |
438 | 438 | |
439 | 439 | displaySearch() { |
440 | - (this.show = false), (this.showSearch = true); | |
440 | + this.show = false | |
441 | + this.showSearch = true; | |
441 | 442 | }, |
442 | 443 | closeSearch() { |
443 | 444 | this.showSearch = false; | ... | ... |
src/pages/Library/books.vue
... | ... | @@ -271,7 +271,7 @@ |
271 | 271 | <v-layout> |
272 | 272 | <v-flex xs12> |
273 | 273 | <label class="title text-xs-center">Add Book</label> |
274 | - <v-icon size="24" class="right" @click="addBookDialog = false">cancel</v-icon> | |
274 | + <v-icon size="24" class="right" @click="$refs.form.reset();addBookDialog = false">cancel</v-icon> | |
275 | 275 | </v-flex> |
276 | 276 | </v-layout> |
277 | 277 | <v-container fluid fill-height> | ... | ... |