From 6c74ffb32bdb43809779b1fa5fced7c1f3092ddd Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 8 Dec 2024 19:30:58 +0100 Subject: [PATCH 1/3] fix: fix print start from dashboard with files in a subdirectory Signed-off-by: Stefan Dej --- src/components/panels/Status/GcodefilesEntry.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/panels/Status/GcodefilesEntry.vue b/src/components/panels/Status/GcodefilesEntry.vue index cc400a0c6..d8fb4aefe 100644 --- a/src/components/panels/Status/GcodefilesEntry.vue +++ b/src/components/panels/Status/GcodefilesEntry.vue @@ -95,7 +95,7 @@ Date: Sun, 8 Dec 2024 23:27:04 +0100 Subject: [PATCH 2/3] fix: use the complete path of the file in the start print dialog on the dashboard Signed-off-by: Stefan Dej --- src/components/panels/Status/GcodefilesEntry.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/panels/Status/GcodefilesEntry.vue b/src/components/panels/Status/GcodefilesEntry.vue index d8fb4aefe..019fed898 100644 --- a/src/components/panels/Status/GcodefilesEntry.vue +++ b/src/components/panels/Status/GcodefilesEntry.vue @@ -95,8 +95,8 @@ Date: Sun, 8 Dec 2024 23:37:32 +0100 Subject: [PATCH 3/3] refactor: remove unused getter Signed-off-by: Stefan Dej --- src/components/panels/Status/GcodefilesEntry.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/panels/Status/GcodefilesEntry.vue b/src/components/panels/Status/GcodefilesEntry.vue index 019fed898..397134a39 100644 --- a/src/components/panels/Status/GcodefilesEntry.vue +++ b/src/components/panels/Status/GcodefilesEntry.vue @@ -274,13 +274,6 @@ export default class StatusPanelGcodefilesEntry extends Mixins(BaseMixin, Contro return this.item.filename.slice(this.item.filename.lastIndexOf('/') + 1) } - get startPrintItem() { - const file = { ...this.item } - file.filename = this.filename - - return file - } - showContextMenu(e: any) { if (this.contextMenuShow) return