HUGE REFACTOR / CLEANUP
if there is a issue it's probably something in here that was changed
This commit is contained in:
@@ -54,7 +54,7 @@ export default {
|
||||
moreClick() {
|
||||
const LIST_FORM_KEY = "widget-list";
|
||||
//get current settings for the form
|
||||
let formSettings = window.$gz.form.getFormSettings(LIST_FORM_KEY);
|
||||
const formSettings = window.$gz.form.getFormSettings(LIST_FORM_KEY);
|
||||
|
||||
//switch to an unsaved listview and substitute this dash widgets list view criteria
|
||||
formSettings.temp.page = 0;
|
||||
@@ -70,9 +70,9 @@ export default {
|
||||
});
|
||||
},
|
||||
async getDataFromApi() {
|
||||
let lv = LIST_VIEW;
|
||||
const lv = LIST_VIEW;
|
||||
lv.limit = this.maxListItems;
|
||||
let res = await window.$gz.api.post("data-list", lv);
|
||||
const res = await window.$gz.api.post("data-list", lv);
|
||||
if (!res.error) {
|
||||
this.obj = res.data;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user