Hide confirmed-in content when confirmed

This commit is contained in:
Râu Cao
2023-01-15 13:16:38 +08:00
parent 2626543f3e
commit d90ddd464a
3 changed files with 15 additions and 0 deletions
+4
View File
@@ -17,4 +17,8 @@ export default class ConfirmedInComponent extends Component {
get confirmedInHumanTime () {
return moment.duration(this.confirmedInSeconds, "seconds").humanize();
}
get isConfirmed () {
return this.confirmedInBlocks <= 0;
}
}