Skip to content
Snippets Groups Projects

CE-2812: Replace fetching data banner with linear progress

Merged Johanna Szepanski requested to merge CE-2812-change-loader-fecth-status into develop
2 files
+ 48
54
Compare changes
  • Side-by-side
  • Inline
Files
2
  • Before job is started lineear progress is displayed instead of a banner
    saying Fetching data. Once the job is queued then a banner i visible
    stating the current job step. Should correspond to stepper state, but
    they are out of sync. This issue is reported as a bug and out of this scope.
+ 6
6
@@ -31,12 +31,12 @@ export class AWXJobDetails {
return this.job?.status.toLowerCase();
}
message() {
const stem = this.job ? `${this.typeLabel()} ` : "";
const info = this.job
? jobMessages[this.job.status.toLowerCase()]
: "Fetching data";
const message = stem + info;
return message;
if (this.job) {
const stem = this.typeLabel();
const info = jobMessages[this.job.status.toLowerCase()];
return `${stem} ${info}`;
}
return null;
}
severity() {
const status = this.job?.status.toLowerCase();
Loading