This commit is contained in:
@@ -405,7 +405,7 @@
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
const FORM_KEY = "ay-data-list-view";
|
||||
const API_BASE_URL = "DataListView/";
|
||||
const API_BASE_URL = "data-list-view/";
|
||||
let JUST_DELETED = false;
|
||||
export default {
|
||||
//unsaved changes are actually valid for this form so no need to warn
|
||||
@@ -1219,7 +1219,7 @@ function setEffectiveListView(vm) {
|
||||
//get default list view
|
||||
//http://localhost:7575/api/v8/DataListView/default/TestWidgetDataList
|
||||
return window.$gz.api
|
||||
.get("DataListView/default/" + vm.dataListKey)
|
||||
.get("data-list-view/default/" + vm.dataListKey)
|
||||
.then(res => {
|
||||
if (res.error) {
|
||||
throw res.error;
|
||||
@@ -1230,7 +1230,7 @@ function setEffectiveListView(vm) {
|
||||
});
|
||||
} else {
|
||||
//listview has an id value
|
||||
return window.$gz.api.get("DataListView/" + vm.listViewId).then(res => {
|
||||
return window.$gz.api.get("data-list-view/" + vm.listViewId).then(res => {
|
||||
if (res.error) {
|
||||
throw res.error;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user