diff --git a/frontend/src/components/CurrentlyBuilding.vue b/frontend/src/components/CurrentlyBuilding.vue index 0aed13d..9398773 100644 --- a/frontend/src/components/CurrentlyBuilding.vue +++ b/frontend/src/components/CurrentlyBuilding.vue @@ -11,11 +11,21 @@
- {{ packageCount.building > 0 ? 'Building' : 'Idle' }} + {{ + updateFailed + ? 'Could not fetch data.' + : packageCount.building > 0 + ? 'Building' + : 'Idle' + }} @@ -33,19 +43,23 @@ class="text-grey v-col-12 v-col-lg-2 mb-3" cols="auto" style="font-size: 13px"> - Last updated - {{ - lastUpdatedSeconds > 59 - ? rtf.format(-Math.floor(lastUpdatedSeconds / 60), 'minutes') - : rtf.format(-lastUpdatedSeconds, 'seconds') - }} + + + - + Building