This commit is contained in:
2020-03-02 23:26:38 +00:00
parent 98b8cf40f9
commit 61049361ca
2 changed files with 13 additions and 6 deletions

View File

@@ -45,8 +45,6 @@ CURRENT TODOs
@@@@@@@@@@@ ROADMAP STAGE 1 and 2: @@@@@@@@@@@ ROADMAP STAGE 1 and 2:
todo: Customize form - needs locale text customization link in there too because that's the central spot people go to do that shit
- Locale on it's own form though as previously planned, just additional link on customize fields form so that people can ramble their way onto it.
todo: add refresh button above grid, reason being that we really don't want people refreshing the ENTIRE app with a full page refresh todo: add refresh button above grid, reason being that we really don't want people refreshing the ENTIRE app with a full page refresh
- Even though we support it, it's slow and could be an issue when running in application mode with no browser controls - Even though we support it, it's slow and could be an issue when running in application mode with no browser controls

View File

@@ -11,10 +11,16 @@
@change="listViewChanged" @change="listViewChanged"
> >
</v-select> </v-select>
<v-spacer></v-spacer <v-spacer></v-spacer>
><v-btn @click="editListView"> <div>
<v-icon>fa-filter</v-icon> <v-btn @click="refresh">
</v-btn> <v-icon>fa-sync</v-icon>
</v-btn>
<v-btn class="ml-12" @click="editListView">
<v-icon>fa-filter</v-icon>
</v-btn>
</div>
</v-card-title> </v-card-title>
<div <div
class="headline ml-3 accent--text" class="headline ml-3 accent--text"
@@ -363,6 +369,9 @@ export default {
} }
return ""; return "";
}, },
refresh() {
this.getDataFromApi();
},
handleSelectChange() { handleSelectChange() {
//due to making own template for items need to handle singleselect which only affects if select all checkbox at top is visible when making own item template //due to making own template for items need to handle singleselect which only affects if select all checkbox at top is visible when making own item template
if (this.singleSelect) { if (this.singleSelect) {