Corrected some missing spaces on transactions page and a blank render bug when confirmation time is below 1 minute.

This commit is contained in:
softsimon
2020-12-02 17:03:04 +07:00
parent 46ad261d84
commit e88ada3e06
2 changed files with 5 additions and 5 deletions

View File

@@ -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,