Only show minutes of hours is < 1
This commit is contained in:
		| @@ -309,6 +309,8 @@ export default { | |||||||
|  |  | ||||||
|       if (minutesLeft == 0) { |       if (minutesLeft == 0) { | ||||||
|         return hours > 1 ? `${hours} hours` : `${hours} hour`; |         return hours > 1 ? `${hours} hours` : `${hours} hour`; | ||||||
|  |       } else if (hours == 0) { | ||||||
|  |         return `${minutesLeft} min`; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|       return `${hours}h ${minutesLeft}m`; |       return `${hours}h ${minutesLeft}m`; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user