This commit is contained in:
2021-06-23 15:29:58 +00:00
parent 2daf1468c2
commit 99cd8c9f62
4 changed files with 9 additions and 8 deletions

View File

@@ -980,6 +980,8 @@ async function saveScheduledUsers(vm, woItemIndex) {
for (let i = 0; i < vm.obj.items[woItemIndex].scheduledUsers.length; i++) {
if (vm.obj.items[woItemIndex].scheduledUsers[i].isDirty) {
// console.log("BEFORE", vm.obj.items[woItemIndex].scheduledUsers[i].uid);
//clone and skip viz and other fields
const o = window.$gz.util.deepCopySkip(
vm.obj.items[woItemIndex].scheduledUsers[i],
@@ -991,6 +993,7 @@ async function saveScheduledUsers(vm, woItemIndex) {
o
);
if (res.error) {
//console.log("ERROR", vm.obj.items[woItemIndex].scheduledUsers[i].uid);
handleSaveError(vm, {
error: res.error,
itemUid: vm.obj.items[woItemIndex].uid,