diff --git a/frontend/src/app/components/timespan/timespan.component.ts b/frontend/src/app/components/timespan/timespan.component.ts index 6433aa250..4edba3df0 100644 --- a/frontend/src/app/components/timespan/timespan.component.ts +++ b/frontend/src/app/components/timespan/timespan.component.ts @@ -14,7 +14,8 @@ export class TimespanComponent implements OnChanges { ngOnChanges() { const seconds = this.time; if (seconds < 60) { - return '< 1 minute'; + this.text = '< 1 minute'; + return; } const intervals = { year: 31536000, diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index 9e40dbe5d..dfd27e13d 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -56,7 +56,7 @@ Confirmed - After + After  @@ -123,11 +123,10 @@ - < {{ 1 * txInBlockIndex + 1 }} minutes ({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }}) + < {{ 1 * txInBlockIndex + 1 }} minutes ({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }}) - - ~{{ 10 * txInBlockIndex + 10 }} minutes ({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }}) + ~{{ 10 * txInBlockIndex + 10 }} minutes ({{ txInBlockIndex + 1 }} block{{ txInBlockIndex > 0 ? 's' : '' }})