Basic toggling of fields
This commit is contained in:
@@ -15,6 +15,10 @@ export enum DocumentDisplayField {
|
||||
DOCUMENT_TYPE = 'documenttype',
|
||||
STORAGE_PATH = 'storagepath',
|
||||
CUSTOM_FIELD = 'custom_field_',
|
||||
NOTES = 'note',
|
||||
OWNER = 'owner',
|
||||
SHARED = 'shared',
|
||||
ASN = 'asn',
|
||||
}
|
||||
|
||||
export const DOCUMENT_DISPLAY_FIELDS = [
|
||||
@@ -46,6 +50,22 @@ export const DOCUMENT_DISPLAY_FIELDS = [
|
||||
id: DocumentDisplayField.STORAGE_PATH,
|
||||
name: $localize`Storage path`,
|
||||
},
|
||||
{
|
||||
id: DocumentDisplayField.NOTES,
|
||||
name: $localize`Notes`,
|
||||
},
|
||||
{
|
||||
id: DocumentDisplayField.OWNER,
|
||||
name: $localize`Owner`,
|
||||
},
|
||||
{
|
||||
id: DocumentDisplayField.SHARED,
|
||||
name: $localize`Shared`,
|
||||
},
|
||||
{
|
||||
id: DocumentDisplayField.ASN,
|
||||
name: $localize`ASN`,
|
||||
},
|
||||
]
|
||||
|
||||
export interface SavedView extends ObjectWithPermissions {
|
||||
|
||||
Reference in New Issue
Block a user