[ui] add more attribute labels

feat/vaults
Tomáš Mládek 2022-02-07 16:34:18 +01:00
parent f082edd6b5
commit 71ca69959f
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 4 additions and 0 deletions

View File

@ -188,11 +188,15 @@
});
// Formatting & Display
// todo - grab from db
const ATTRIBUTE_LABELS: { [key: string]: string } = {
FILE_MIME: "MIME type",
FILE_MTIME: "Last modified",
FILE_SIZE: "File size",
ADDED: "Added at",
LAST_VISITED: "Last visited at",
LBL: "Label",
IS: "Type",
};
const VALUE_FORMATTERS: { [key: string]: (val: string | number) => string } =