From f1b2cb8bee561bd2ddbf6e023d64d33070fc01db Mon Sep 17 00:00:00 2001 From: funghi999 <50140796+funghi999@users.noreply.github.com> Date: Wed, 3 Jul 2024 08:50:29 +0200 Subject: [PATCH] Change git hash (#3) * chore: Update FUNDING.yml with new ko-fi username (cherry picked from commit d8d27b63a9ed58edbc470d1e65ae7a5766a49591) * chore: Update PR template link to point to the correct repository (cherry picked from commit f8e3f34344cddd54d1939274c207f1d14225aff3) * feat: Add .vscode/extensions.json to .gitignore * chore: Update FUNDING.yml with new ko-fi username (cherry picked from commit d8d27b63a9ed58edbc470d1e65ae7a5766a49591) * chore: Update PR template link to point to the correct repository (cherry picked from commit f8e3f34344cddd54d1939274c207f1d14225aff3) * feat: Add .vscode/extensions.json to .gitignore --------- Co-authored-by: depilzma --- webapp/src/views/SystemInfoView.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/webapp/src/views/SystemInfoView.vue b/webapp/src/views/SystemInfoView.vue index f491ff25..5f284c8b 100644 --- a/webapp/src/views/SystemInfoView.vue +++ b/webapp/src/views/SystemInfoView.vue @@ -74,16 +74,7 @@ export default defineComponent({ this.systemDataList.git_is_hash = true; } - if (!this.allowVersionInfo) { - return; - } - - if (!this.allowVersionInfo) { - return; - } - - const fetchUrl = - 'https://api.github.com/repos/funghi999/openDTU-DUO-Fusion/compare/' + this.systemDataList.git_hash + '...HEAD'; + const fetchUrl = 'https://api.github.com/repos/funghi999/openDTU-DUO-Fusion/compare/' + this.systemDataList.git_hash + '...HEAD'; fetch(fetchUrl) .then((response) => {