Check if url is a plugin url when calculating the window bounds (#2446)

This commit is contained in:
Tasos Boulis
2022-12-05 12:33:40 +02:00
committed by GitHub
parent 161ae99e94
commit e8754df3c0

View File

@@ -58,7 +58,7 @@ export function shouldHaveBackBar(serverUrl: URL | string, inputURL: URL | strin
return false;
}
return !UrlUtils.isTeamUrl(serverUrl, inputURL) && !UrlUtils.isAdminUrl(serverUrl, inputURL);
return !UrlUtils.isTeamUrl(serverUrl, inputURL) && !UrlUtils.isAdminUrl(serverUrl, inputURL) && !UrlUtils.isPluginUrl(serverUrl, inputURL);
}
export function getLocalURLString(urlPath: string, query?: Map<string, string>, isMain?: boolean) {