fix: subscription (#1918)

* fix: disable button until redirect is ready

* fix: hide unnecessary button

* fix: format audit log retention

* fix: enable descriptions to be empty

* fix: enable descriptions to be empty
This commit is contained in:
Livio Amstutz
2021-06-21 15:35:00 +00:00
committed by GitHub
parent 5d5c15ca9c
commit 796cbc8998
5 changed files with 7 additions and 8 deletions
@@ -18,7 +18,7 @@ export class TimestampToRetentionPipe implements PipeTransform {
if (date?.seconds !== undefined && date?.nanos !== undefined) {
const ms = (date.seconds * 1000 + date.nanos / 1000 / 1000);
const mins = ms / 1000 / 60;
return mins / 60 / 24;
return +(mins / 60 / 24).toFixed(2);
}
}
}