From e85bcfd67ba42004e509f538eca5bd288efaad6e Mon Sep 17 00:00:00 2001 From: Ramin Tadayon Date: Thu, 2 Mar 2023 13:00:13 -0700 Subject: [PATCH] Fixes asWebviewUri call in graph webview --- src/plus/webviews/graph/graphWebview.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plus/webviews/graph/graphWebview.ts b/src/plus/webviews/graph/graphWebview.ts index f305734..d6aa884 100644 --- a/src/plus/webviews/graph/graphWebview.ts +++ b/src/plus/webviews/graph/graphWebview.ts @@ -1537,7 +1537,11 @@ export class GraphWebview extends WebviewBase { if (remote != null) { ref.avatarUrl = ( (useAvatars ? remote.provider?.avatarUri : undefined) ?? - getRemoteIconUri(this.container, remote, this._panel!.webview.asWebviewUri.bind(this)) + getRemoteIconUri( + this.container, + remote, + this._panel!.webview.asWebviewUri.bind(this._panel!.webview), + ) )?.toString(true); } }