mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-01 19:45:33 +02:00
fix: fix repository refresh
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ export default class Repository {
|
|||||||
const branch = this.source.branch;
|
const branch = this.source.branch;
|
||||||
const newCommit = branches.filter((f) => f.name == branch.name)[0]
|
const newCommit = branches.filter((f) => f.name == branch.name)[0]
|
||||||
?.commit;
|
?.commit;
|
||||||
if (branch.commit == newCommit) {
|
if (branch.commit == newCommit && this.status == "ready") {
|
||||||
console.log(`${this._model.repoId} is up to date`);
|
console.log(`${this._model.repoId} is up to date`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user