diff --git a/ayanova/src/main.js b/ayanova/src/main.js index 65411aab..ea25c9ae 100644 --- a/ayanova/src/main.js +++ b/ayanova/src/main.js @@ -10,9 +10,11 @@ import "./registerServiceWorker"; import errorHandler from "./api/errorhandler"; import NProgress from "nprogress"; import "nprogress/nprogress.css"; +import gzdateandtimepicker from "./components/gzdateandtimepicker.vue"; + import dayjs from "dayjs"; import locale from "./api/locale"; -import gzdateandtimepicker from "./components/gzdateandtimepicker.vue"; +import gzapi from "./api/apiutil"; ///////////////////////////////////////////////////////////////// // LIBS AND GLOBAL ITEMS @@ -20,6 +22,7 @@ import gzdateandtimepicker from "./components/gzdateandtimepicker.vue"; // Object.defineProperty(Vue.prototype, "$dayjs", { value: dayjs }); Object.defineProperty(Vue.prototype, "$gzlocale", { value: locale }); +Object.defineProperty(Vue.prototype, "$gzapi", { value: gzapi }); ///////////////////////////////////////////////////////////////// // FORM VALIDATION diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 85c94386..d1111646 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -84,8 +84,6 @@