mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Expand some code for Spectre import.
This commit is contained in:
5
public/js/ff/import/status.js
vendored
5
public/js/ff/import/status.js
vendored
@@ -118,13 +118,12 @@ function reportOnJobStatus(data) {
|
||||
// show text:
|
||||
$('#import-status-more-info').html(data.finishedText);
|
||||
break;
|
||||
case "errored":
|
||||
// TODO this view is not yet used.
|
||||
case "error":
|
||||
// hide all possible boxes:
|
||||
$('.statusbox').hide();
|
||||
|
||||
// fill in some details:
|
||||
var errorMessage = data.error_message;
|
||||
var errorMessage = data.errors.join(", ");
|
||||
|
||||
$('.fatal_error_txt').text(errorMessage);
|
||||
|
||||
|
Reference in New Issue
Block a user