no message

This commit is contained in:
2024-10-25 00:50:19 +03:00
parent 9482abefcc
commit f2de9054d0
52 changed files with 101 additions and 85 deletions

View File

@@ -21,7 +21,7 @@ public class PublishBugReport extends Pass<BugReport> {
}
@Override
protected boolean canStart(Object... args) {
if ( Global.componentsServer.db.bugReports.getUI().Check(Log)) {
if ( Global.componentsServer.db.bugReports.getUI().CheckCurrent(Log)) {
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
if (!target.state.equals(BugReportState.draft)) {
Log.Writeln_("Отчёт об ошибке " + target.id + " уже опубликован!");