fix(frontend,backend): storage categories keep one hue in both themes, trash counted in the total, undo keeps the list, larger touch targets
This commit is contained in:
1 parent
06ae3e928f
commit
580927da0a
11 files changed
+112
-47
No files matched your search
@@ -42,10 +42,10 @@ export function fileExtension(fileName: string): string {
|
||||
export function purgeLabel(iso: string): string {
|
||||
const days = Math.ceil((new Date(iso).getTime() - Date.now()) / DAY_MS);
|
||||
if (days <= 0) {
|
||||
return "Удалится сегодня";
|
||||
return "сегодня";
|
||||
}
|
||||
if (days === 1) {
|
||||
return "Удалится завтра";
|
||||
return "завтра";
|
||||
}
|
||||
return `Удалится через ${days} дн.`;
|
||||
return `через ${days} дн.`;
|
||||
}
|
||||
Reference in new issue
Block a user