You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2021/11/01 14:05:36 UTC

[camel-karavan] branch main updated: Fixed #57 (#59)

This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 057f078  Fixed #57 (#59)
057f078 is described below

commit 057f07876dfe5595614fb10b4e9de43c82e664f0
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Mon Nov 1 10:05:27 2021 -0400

    Fixed #57 (#59)
---
 karavan-vscode/src/extension.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/karavan-vscode/src/extension.ts b/karavan-vscode/src/extension.ts
index 8957837..4c76cb9 100644
--- a/karavan-vscode/src/extension.ts
+++ b/karavan-vscode/src/extension.ts
@@ -18,6 +18,7 @@ import * as vscode from "vscode";
 import * as fs from "fs";
 import * as path from "path";
 import {CamelYaml} from "../designer/api/CamelYaml";
+import { CamelUi } from "../designer/api/CamelUi";
 
 export function activate(context: vscode.ExtensionContext) {
     const webviewContent = fs
@@ -83,7 +84,7 @@ function openKaravanWebView(context: vscode.ExtensionContext, webviewContent: st
     // Karavan webview
     const panel = vscode.window.createWebviewPanel(
         "karavan",
-        "Karavan",
+        CamelUi.nameFomTitle(name),
         vscode.ViewColumn.One,
         {
             enableScripts: true,