Remove ternary operator
This commit is contained in:
		
							parent
							
								
									7e1e2c0bd3
								
							
						
					
					
						commit
						9086933a93
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -69,7 +69,11 @@ export default { | ||||||
|         return 'In progress' |         return 'In progress' | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       return this.task.success ? 'Completed' : 'Failed' |       if (!this.task.success) { | ||||||
|  |         return 'Failed' | ||||||
|  |       } | ||||||
|  | 
 | ||||||
|  |       return 'Completed' | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
		Reference in a new issue