Another bugfix for the import, wrong property was used in XHTML file

deploy_packages_to_gitea
Jens Pelzetter 2022-10-15 17:02:35 +02:00
parent 39920f42f3
commit 8893eebaff
2 changed files with 13 additions and 1 deletions

View File

@ -75,6 +75,18 @@ public class ImportTaskStatus implements Comparable<ImportTaskStatus> {
this.status = status;
}
public boolean isRunning() {
return status == ImExportTaskStatus.RUNNING;
}
public boolean isFinished() {
return status == ImExportTaskStatus.FINISHED;
}
public boolean isError() {
return status == ImExportTaskStatus.ERROR;
}
public Throwable getException() {
return exception;
}

View File

@ -125,7 +125,7 @@
<td>#{task.started}</td>
<td>
<c:choose>
<c:when test="#{task.done}">
<c:when test="#{task.finished}">
#{AdminMessages['imexport.activeimports.table.columns.status.finished']}
</c:when>
<c:otherwise>