feat: filter temporary uploads from stats menu

This commit is contained in:
Bobby 2022-10-06 05:05:50 +07:00
parent 1592ff3823
commit 3fcb0732a4
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09

View File

@ -167,7 +167,11 @@ self.getUploadsStats = async db => {
action: 'filter-uploads-with',
actionData: '-is:image -is:video -is:audio'
},
Temporary: 0,
Temporary: {
value: 0,
action: 'filter-uploads-with',
actionData: 'expiry:>0'
},
'Size in DB': {
value: 0,
type: Type.BYTE