diff --git a/apps/desktop/src/routes/[projectId]/+layout.svelte b/apps/desktop/src/routes/[projectId]/+layout.svelte index 21746fec62..a2e77f6de2 100644 --- a/apps/desktop/src/routes/[projectId]/+layout.svelte +++ b/apps/desktop/src/routes/[projectId]/+layout.svelte @@ -123,7 +123,9 @@ baseBranchName, forkInfo, project.git_host?.use_pull_request_template ?? false, - project.git_host?.pull_request_template_path ?? '' + project.git_host?.pull_request_template_path + ? project.git_host?.pull_request_template_path.replace(project.path, '') + : '' ) : undefined;