This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* eslint-disable */
|
/* Xeslint-disable */
|
||||||
import store from "../store";
|
import store from "../store";
|
||||||
|
|
||||||
var devModeShowErrors = false;
|
var devModeShowErrors = false;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* xeslint-disable */
|
/* ZZeslint-disable */
|
||||||
import store from "../store";
|
import store from "../store";
|
||||||
import apiUtil from "./apiutil";
|
import apiUtil from "./apiutil";
|
||||||
import _ from "../libs/lodash.min.js";
|
import _ from "../libs/lodash.min.js";
|
||||||
@@ -22,9 +22,7 @@ export default {
|
|||||||
needIt.push(keys[i]);
|
needIt.push(keys[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (keys[0] == "Log") {
|
|
||||||
throw new Error("TEST ERROR IN LOCALE");
|
|
||||||
}
|
|
||||||
if (needIt.length == 0) {
|
if (needIt.length == 0) {
|
||||||
resolve();
|
resolve();
|
||||||
return;
|
return;
|
||||||
@@ -41,9 +39,6 @@ export default {
|
|||||||
|
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
// .catch(function(error) {
|
|
||||||
// reject(error);
|
|
||||||
// });
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//Keys that all edit forms have in common (saves retyping them over and over)
|
//Keys that all edit forms have in common (saves retyping them over and over)
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export default {
|
|||||||
.then(() => (this.formReady = true))
|
.then(() => (this.formReady = true))
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
this.formReady = true; //show the form anyway so we know what's what
|
this.formReady = true; //show the form anyway so we know what's what
|
||||||
throw err;
|
this.$gzerror(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ export default {
|
|||||||
.fetch(["Inventory"])
|
.fetch(["Inventory"])
|
||||||
.then(() => (this.formReady = true))
|
.then(() => (this.formReady = true))
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
throw err;
|
this.formReady = true;
|
||||||
|
this.$gzerror(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
/* eslint-disable */
|
/* Xeslint-disable */
|
||||||
export default {
|
export default {
|
||||||
created() {
|
created() {
|
||||||
var outText = "";
|
var outText = "";
|
||||||
@@ -22,7 +22,6 @@ export default {
|
|||||||
.catch(err => {
|
.catch(err => {
|
||||||
this.formReady = true;
|
this.formReady = true;
|
||||||
this.$gzerror(err);
|
this.$gzerror(err);
|
||||||
//throw err;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user