This commit is contained in:
2020-10-09 14:00:04 +00:00
parent d84f5a9e88
commit cbf0ee6516
3 changed files with 3 additions and 8 deletions

View File

@@ -2,11 +2,6 @@
@@@@@@@@@@@@@@@ ROADMAP STAGE 4 - REPORTING / DASHBOARD / KPI
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
todo: confirm logout stops the notify check
I logged out at end of day today, check first thing in the morning if any
todo: user form
create user but just type name, try to save, get mysterious object did not pass validation but it doesn't show the actual error which is customertype not set?!
todo: Joyce issue report:
can't delete second report template
@@ -37,7 +32,7 @@ todo: Joyce issue report:
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
todo: duplicate renaming code just keeps adding -1 to the end in consecutive duplicates so you get name-1-1-1-1 Is this kosher?
todo: Direct report view URL doesn't work if already logged in due to code only being in login form
need to hijack the router before navigation to intercept special urls

View File

@@ -447,7 +447,7 @@ export default {
//
objectIsEmpty: function(obj) {
//https://stackoverflow.com/a/4994265/8939
return Object.keys(obj).length === 0;
return !obj || Object.keys(obj).length === 0;
},
///////////////////////////////////////////////
// Trim specific character from start and end

View File

@@ -322,7 +322,7 @@ export default {
active: false,
name: null,
roles: null,
userType: 3,
userType: 2,
employeeNumber: null,
notes: null,
customerId: null,