no message
This commit is contained in:
@@ -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 + " уже опубликован!");
|
||||
|
||||
Reference in New Issue
Block a user