mirror of
https://github.com/pomber/git-history.git
synced 2024-10-26 15:09:56 +03:00
Set web view title
This commit is contained in:
parent
38749e2360
commit
94c91d9ae5
@ -20,14 +20,13 @@ function activate(context) {
|
||||
|
||||
const currentPath = getCurrentPath();
|
||||
if (!currentPath) {
|
||||
//TODO show message
|
||||
console.log("no path");
|
||||
vscode.window.showInformationMessage("No active file");
|
||||
return;
|
||||
}
|
||||
|
||||
const panel = vscode.window.createWebviewPanel(
|
||||
"gfh",
|
||||
"Git History",
|
||||
`${path.basename(currentPath)} (Git History)`,
|
||||
vscode.ViewColumn.One,
|
||||
{
|
||||
enableScripts: true,
|
||||
|
Loading…
Reference in New Issue
Block a user