diff --git a/src/components/Battleground.vue b/src/components/Battleground.vue index e2d8340..dadcad7 100644 --- a/src/components/Battleground.vue +++ b/src/components/Battleground.vue @@ -1,16 +1,44 @@ + + - diff --git a/src/components/Battleground/Objective.vue b/src/components/Battleground/Objective.vue index c4be8e4..277bda9 100644 --- a/src/components/Battleground/Objective.vue +++ b/src/components/Battleground/Objective.vue @@ -1,23 +1,30 @@ + + - - diff --git a/src/components/Battleground/Timer.vue b/src/components/Battleground/Timer.vue index 4dbcbf9..59193aa 100644 --- a/src/components/Battleground/Timer.vue +++ b/src/components/Battleground/Timer.vue @@ -30,7 +30,10 @@ return (this.currentTime % 60).toLocaleString('en', {minimumIntegerDigits: 2}) }, minutes: function () { - return (Math.floor(this.currentTime / 60) % 60) + let minutes = Math.floor(this.currentTime / 60) % 60 + return this.displayHours > 0 + ? minutes.toLocaleString('en', {minimumIntegerDigits: 2}) + : minutes }, hours: function () { return (Math.floor(this.currentTime / 3600) % 24) diff --git a/src/components/BattlegroundSelector.vue b/src/components/BattlegroundSelector.vue index c14958c..a396a70 100644 --- a/src/components/BattlegroundSelector.vue +++ b/src/components/BattlegroundSelector.vue @@ -12,7 +12,7 @@