#513 - Added devtools command

This commit is contained in:
Elio Struyf
2023-02-28 14:45:18 +01:00
parent 8bc63a48a0
commit cbeda07d25
3 changed files with 17 additions and 2 deletions
+7 -1
View File
@@ -100,11 +100,17 @@ Stack: ${componentStack}`
<span className='absolute left-2'>Development mode</span>
<a
className="ml-2 px-2 hover:text-[var(--vscode-statusBarItem-hoverForeground)] hover:bg-[var(--vscode-statusBarItem-hoverBackground)] hover:outline-none focus:outline-none"
className="ml-2 px-2 hover:text-[var(--vscode-statusBar-debuggingForeground)] hover:bg-[var(--vscode-statusBarItem-hoverBackground)] hover:outline-none focus:outline-none"
href={`command:workbench.action.webview.reloadWebviewAction`}
title="Reload the dashboard">
Reload
</a>
<a
className="ml-2 px-2 hover:text-[var(--vscode-statusBar-debuggingForeground)] hover:bg-[var(--vscode-statusBarItem-hoverBackground)] hover:outline-none focus:outline-none"
href={`command:workbench.action.webview.openDeveloperTools`}
title="Open DevTools">
DevTools
</a>
</div>
)
}