Update video duration string to show hours when duration greater than or equal 60min...
authorLucas Declercq <lucas-dclrcq@users.noreply.github.com>
Mon, 19 Mar 2018 09:32:12 +0000 (10:32 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 19 Mar 2018 09:32:12 +0000 (10:32 +0100)
commitf6aec1b0f64b18a767b458286e0d6a5f6549a573
treefcb195e24038915e20703ebed936a94b84c2af0d
parent2db6f2b0c16d5bc56528f2d6d57a270661218d97
Update video duration string to show hours when duration greater than or equal 60min (#360)

* Update video duration string to show hours when >= 60min

* Only show hours in duration when relevant

* Fix problem with ternary expression

* Remove accidentally commited package-lock.json
client/src/app/shared/video/video.model.ts