Fix: Link to git hash references onBattery repo now
This commit is contained in:
parent
46c733ca31
commit
80f1af32f8
@ -74,9 +74,9 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
versionInfoUrl(): string {
|
versionInfoUrl(): string {
|
||||||
if (this.systemStatus.git_is_hash) {
|
if (this.systemStatus.git_is_hash) {
|
||||||
return 'https://github.com/tbnobody/OpenDTU/commits/' + this.systemStatus.git_hash;
|
return 'https://github.com/helgeerbe/OpenDTU-OnBattery/commits/' + this.systemStatus.git_hash;
|
||||||
}
|
}
|
||||||
return 'https://github.com/tbnobody/OpenDTU/releases/tag/' + this.systemStatus.git_hash;
|
return 'https://github.com/helgeerbe/OpenDTU-OnBattery/releases/tag/' + this.systemStatus.git_hash;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export default defineComponent({
|
|||||||
this.systemDataList.git_is_hash = true;
|
this.systemDataList.git_is_hash = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const fetchUrl = "https://api.github.com/repos/tbnobody/OpenDTU/compare/"
|
const fetchUrl = "https://api.github.com/repos/helgeerbe/OpenDTU-OnBattery/compare/"
|
||||||
+ this.systemDataList.git_hash + "...HEAD";
|
+ this.systemDataList.git_hash + "...HEAD";
|
||||||
|
|
||||||
fetch(fetchUrl)
|
fetch(fetchUrl)
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user