Add notification policies and notification requests in web UI (#29433)
This commit is contained in:
1 parent
19efa1b9f1
commit
c10bbf5fe3
35 files changed
+1278
-252
No files matched your search
@@ -69,3 +69,11 @@ export function pluralReady(
|
||||
export function roundTo10(num: number): number {
|
||||
return Math.round(num * 0.1) / 0.1;
|
||||
}
|
||||
|
||||
export function toCappedNumber(num: string): string {
|
||||
if (parseInt(num) > 99) {
|
||||
return '99+';
|
||||
} else {
|
||||
return num;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user