fix: avoid cache of list of files

This commit is contained in:
tdurieux
2024-07-22 16:20:02 +02:00
parent 27583e6a17
commit d8dd408a65
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1583,7 +1583,7 @@ angular
$scope.getFiles = async function (path) {
try {
const res = await $http.get(
`/api/repo/${$scope.repoId}/files/?path=${path}`
`/api/repo/${$scope.repoId}/files/?path=${path}&v=${$scope.options.lastUpdateDate}`
);
$scope.files.push(...res.data);
return res.data;
+1 -1
View File
File diff suppressed because one or more lines are too long