mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-16 02:55:39 +00:00
feature: Logs, column for tag, and left align status. Stop nav flash (#393)
This commit is contained in:
@@ -15,10 +15,11 @@ export class ActionStatusDisplay {
|
||||
|
||||
update (logEntry) {
|
||||
this.statusElement.classList.remove(...this.statusElement.classList)
|
||||
this.statusElement.classList.add('action-status')
|
||||
|
||||
if (logEntry.executionFinished) {
|
||||
this.statusElement.innerText = 'Completed'
|
||||
this.exitCodeElement.innerText = ', Exit code: ' + logEntry.exitCode
|
||||
this.exitCodeElement.innerText = ' Exit code: ' + logEntry.exitCode
|
||||
|
||||
if (logEntry.exitCode === 0) {
|
||||
this.statusElement.classList.add('action-success')
|
||||
|
||||
Reference in New Issue
Block a user