mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-21 00:44:47 +02:00
fix: avoid cache of list of files
This commit is contained in:
@@ -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;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user