This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
const FORM_KEY = "ay-history";
|
const FORM_KEY = "ay-history";
|
||||||
const API_BASE_URL = "EventLog/";
|
const API_BASE_URL = "EventLog/";
|
||||||
const DEFAULT_EVENTS_PAGE_SIZE = 200;
|
const DEFAULT_EVENTS_PAGE_SIZE = 200;
|
||||||
export default {
|
export default {
|
||||||
created() {
|
created() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
@@ -197,7 +197,8 @@ export default {
|
|||||||
vm.formState.serverError = res.error;
|
vm.formState.serverError = res.error;
|
||||||
window.$gz.form.setErrorBoxErrors(vm);
|
window.$gz.form.setErrorBoxErrors(vm);
|
||||||
} else {
|
} else {
|
||||||
vm.moreAvailable = res.data.events.length == DEFAULT_EVENTS_PAGE_SIZE;
|
vm.moreAvailable =
|
||||||
|
res.data.events.length == DEFAULT_EVENTS_PAGE_SIZE;
|
||||||
vm.name = res.data.name;
|
vm.name = res.data.name;
|
||||||
let temp = res.data.events;
|
let temp = res.data.events;
|
||||||
let currentEventCount = vm.obj.length;
|
let currentEventCount = vm.obj.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user