diff --git a/src/store/files.js b/src/store/files.js index 322af5d6e2..6e7c7eca17 100644 --- a/src/store/files.js +++ b/src/store/files.js @@ -167,12 +167,12 @@ export const useFilesStore = defineStore('files', { }, pendingFilter() { return Object.values(this.files).filter( - (a) => (a.status === 1)).sort( + (a) => (a.status === 1 || a.status === 2)).sort( (a, b) => (a.request_date < b.request_date) ? 1 : -1) }, signedFilter() { return Object.values(this.files).filter( - (a) => (a.status === 2)).sort( + (a) => (a.status === 3)).sort( (a, b) => (a.request_date < b.request_date) ? 1 : -1) }, orderFiles() {