Skip to content

Commit

Permalink
Merge pull request #3701 from LibreSign/backport/3698/stable29
Browse files Browse the repository at this point in the history
[stable29] fix: ajust condition to filter file list
  • Loading branch information
vitormattos authored Sep 14, 2024
2 parents 6c850e5 + e4165f7 commit e0a28a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/store/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,7 @@ export const useFilesStore = defineStore('files', {
)
},
async getAllFiles(filter) {
const response = await axios.get(generateOcsUrl('/apps/libresign/api/v1/file/list'), {
params: {
filter,
},
})
const response = await axios.get(generateOcsUrl('/apps/libresign/api/v1/file/list'), { params: filter })
this.files = {}
response.data.ocs.data.data.forEach(file => {
this.addFile(file)
Expand Down

0 comments on commit e0a28a7

Please sign in to comment.