Skip to content

Commit

Permalink
Merge pull request #286 from Vafilor/fix/failed.status
Browse files Browse the repository at this point in the history
fix: added handling for failed state
  • Loading branch information
Vafilor authored Apr 14, 2021
2 parents 5af383d + bea3bb3 commit caada83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class WorkspacePhaseImagePipe implements PipeTransform {
['Paused', WorkspacePhaseImagePipe.pausedImageSource],
['Terminating', WorkspacePhaseImagePipe.terminatingImageSource],
['Terminated', WorkspacePhaseImagePipe.terminatedSource],
['Failed', WorkspacePhaseImagePipe.terminatedSource],
['Failed to pause', WorkspacePhaseImagePipe.terminatedSource],
['Failed to resume', WorkspacePhaseImagePipe.terminatedSource],
['Failed to terminate', WorkspacePhaseImagePipe.terminatedSource],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Pipe, PipeTransform } from '@angular/core';
export class WorkspacePhaseStatusPipe implements PipeTransform {
static mapping = new Map<string, string>([
['Launching', 'Launching...'],
['Failed', 'Failed'],
['Failed to launch', 'Failed to launch'],
['Failed to resume', 'Failed to resume'],
['Updating', 'Updating...'],
Expand Down

0 comments on commit caada83

Please sign in to comment.