From 700dcadbbff28b59e5443213f8afd19c7dea0c4e Mon Sep 17 00:00:00 2001 From: Aofei Sheng Date: Fri, 10 Jan 2025 14:33:00 +0800 Subject: [PATCH] fix(ProjectCreateModal): display correct remix title instead of `[object Object]` (#1230) Fixes #1217 Signed-off-by: Aofei Sheng --- spx-gui/src/components/project/ProjectCreateModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spx-gui/src/components/project/ProjectCreateModal.vue b/spx-gui/src/components/project/ProjectCreateModal.vue index da74bf94f..1d66a3a9b 100644 --- a/spx-gui/src/components/project/ProjectCreateModal.vue +++ b/spx-gui/src/components/project/ProjectCreateModal.vue @@ -69,7 +69,7 @@ const signedInUser = computed(() => userStore.getSignedInUser()) const title = computed(() => { if (props.remixSource == null) return { en: 'Create a new project', zh: '创建新的项目' } - return { en: `Remix ${props.remixSource}`, zh: `改编 ${parseRemixSource(props.remixSource)}` } + return { en: `Remix ${props.remixSource}`, zh: `改编 ${props.remixSource}` } }) const initialName = props.remixSource == null ? '' : parseRemixSource(props.remixSource).project