From 69b522f111c0cc456b2e290cb188959b0a5fcab2 Mon Sep 17 00:00:00 2001 From: Aliza Held Date: Thu, 8 Oct 2026 15:16:15 +0200 Subject: [PATCH] Fix(assistant): Use context.fileid instead of context.data.id The Folder context passed by addNewFileMenuEntry exposes the folder ID via the .fileid getter, not .data.id, causing a TypeError on submit. Signed-off-by: Aliza Held --- src/components/FilesNewMenu/GenerateImageDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FilesNewMenu/GenerateImageDialog.vue b/src/components/FilesNewMenu/GenerateImageDialog.vue index 4868dbd57..ea19f2538 100644 --- a/src/components/FilesNewMenu/GenerateImageDialog.vue +++ b/src/components/FilesNewMenu/GenerateImageDialog.vue @@ -122,7 +122,7 @@ export default { }, type: 'core:text2image', appId: 'assistant', - customId: 'new-image-file:' + this.context.data.id, + customId: 'new-image-file:' + this.context.fileid, } axios.post(url, params)