Fix: Issue 818 proxyServerUrl is getting "undefined" instead of real undefined if not defined (#819)
This commit is contained in:
parent
07aaeb50cc
commit
7c19ae4c2b
1 changed files with 6 additions and 3 deletions
|
|
@ -763,9 +763,12 @@ export function getSidebarContent(
|
|||
) || []
|
||||
)}</script>
|
||||
<script>window.isFullScreen = ${isFullScreen}</script>
|
||||
<script>window.proxyServerUrl = "${vscode.workspace
|
||||
.getConfiguration("continue")
|
||||
.get("proxyServerUrl")}"</script>
|
||||
<script>
|
||||
const proxyServerUrl = vscode.workspace
|
||||
.getConfiguration("continue")
|
||||
.get("proxyServerUrl")
|
||||
window.proxyServerUrl = proxyServerUrl ? String(proxyServerUrl) : undefined
|
||||
</script>
|
||||
|
||||
${
|
||||
edits
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue