сохранение адресатов и исполнителя.восстановление

This commit is contained in:
2025-02-20 00:49:30 +03:00
parent f1440dd1e2
commit b445e3e879
5 changed files with 15 additions and 21 deletions

View File

@@ -11,12 +11,9 @@ public class SaveBugReportExecutor extends UpdateBugReportField {
}
@Override
protected boolean canStart(Object... args) throws Exception {
return false;
/*
return Global.componentsServer.db.subscribers.getUI().CheckCurrent(Log) &&
super.canStart("executor", Global.componentsServer.db.subscribers.getUI().getCurrent().name,
"executor_address", Global.componentsServer.db.subscribers.getUI().getCurrent().address
return Global.componentsServer.db.recipients.getUI().CheckCurrent(Log) &&
super.canStart("executor", Global.componentsServer.db.recipients.getUI().getCurrent().name,
"executor_address", Global.componentsServer.db.recipients.getUI().getCurrent().email
);
*/
}
}

View File

@@ -13,7 +13,8 @@ public class SaveBugReportRecipients extends UpdateBugReportField {
}
@Override
protected boolean canStart(Object... args) throws Exception {
//return super.canStart("packedRecipientsJson", Utils_.gson.toJson(new RecipientsJson(Global.componentsServer.db.subscribers.getUI().getSelectedItems())));
return false;
return super.canStart("packedRecipientsJson",
Utils_.gson.toJson(new RecipientsJson(Global.componentsServer.db.recipients.getUI().getSelectedItems())));
}
}