From eecd24a8d6f33beb7e4272b5bdcb7245c2b9ae71 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 2 Nov 2021 23:06:46 +0100 Subject: [PATCH] fix: use repo_name instead of update_manager module name for creating github link Signed-off-by: Stefan Dej --- src/components/panels/Machine/UpdatePanel.vue | 5 ++++- src/store/variables.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/panels/Machine/UpdatePanel.vue b/src/components/panels/Machine/UpdatePanel.vue index 3b600282..2a04edbb 100644 --- a/src/components/panels/Machine/UpdatePanel.vue +++ b/src/components/panels/Machine/UpdatePanel.vue @@ -195,7 +195,7 @@

{{ commit.author}} {{ convertCommitDate(commit.date) }}

- {{ commit.sha.substr(0, 6)}} + {{ commit.sha.substr(0, 6)}} @@ -233,6 +233,7 @@ interface commitsOverlay { bool: boolean owner: string modul: string + repoName: string commits: ServerUpdateMangerStateVersionInfoGitRepoCommits[] groupedCommits: groupedCommit[] } @@ -253,6 +254,7 @@ export default class UpdatePanel extends Mixins(BaseMixin) { bool: false, owner: '', modul: '', + repoName: '', commits: [], groupedCommits: [] } @@ -473,6 +475,7 @@ export default class UpdatePanel extends Mixins(BaseMixin) { this.openCommits = [] this.commitsOverlay.owner = object.owner this.commitsOverlay.modul = key + this.commitsOverlay.repoName = object.repo_name ?? key this.commitsOverlay.commits = object.commits_behind this.commitsOverlay.groupedCommits = [] diff --git a/src/store/variables.ts b/src/store/variables.ts index a7c402af..c031be13 100644 --- a/src/store/variables.ts +++ b/src/store/variables.ts @@ -2,7 +2,7 @@ export const defaultLogoColor = '#D41216' export const defaultPrimaryColor = '#2196f3' export const minKlipperVersion = 'v0.9.1-778' -export const minMoonrakerVersion = 'v0.7.1-106' +export const minMoonrakerVersion = 'v0.7.1-107' export const colorArray = [ '#F44336',