diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue index 6f734228..5707b4cf 100644 --- a/ayanova/src/App.vue +++ b/ayanova/src/App.vue @@ -343,7 +343,6 @@ export default { if (!vm.$store.state.authenticated && !isReset) { //If a direct open path was being used but user is not logged in this will catch it //otherwise they will just go on to that path directly - // eslint-disable-next-line no-debugger if (toPath != undefined) { vm.$router.push({ diff --git a/ayanova/src/api/authorizationroles.js b/ayanova/src/api/authorizationroles.js index a846ee89..65de57cf 100644 --- a/ayanova/src/api/authorizationroles.js +++ b/ayanova/src/api/authorizationroles.js @@ -49,8 +49,7 @@ export default { return false; } //array form? - // eslint-disable-next-line no-debugger - debugger; + if (Array.isArray(desiredRole)) { //it's an array of roles, iterate and if any are present then return true for (let i = 0; i < desiredRole.length; i++) { diff --git a/ayanova/src/api/gzapi.js b/ayanova/src/api/gzapi.js index 2a995e9b..e809cb61 100644 --- a/ayanova/src/api/gzapi.js +++ b/ayanova/src/api/gzapi.js @@ -435,7 +435,7 @@ export default { // doDelayAsync: () => { // eslint-disable-next-line - return new Promise((resolve) => { + return new Promise(resolve => { setTimeout(() => resolve("I did something"), 10000); }); }, diff --git a/ayanova/src/components/currency-control.vue b/ayanova/src/components/currency-control.vue index cc4fcb72..9d9816fc 100644 --- a/ayanova/src/components/currency-control.vue +++ b/ayanova/src/components/currency-control.vue @@ -19,7 +19,6 @@