[MM-38301] Check for admin URL when adding space for back bar (#1719)

This commit is contained in:
Devin Binnie
2021-09-02 14:06:48 -04:00
committed by GitHub
parent 9c55f8c717
commit 78819d1dca

View File

@@ -172,7 +172,7 @@ function handleResizeMainWindow() {
const setBoundsFunction = () => {
if (currentView) {
currentView.setBounds(getAdjustedWindowBoundaries(bounds.width!, bounds.height!, !urlUtils.isTeamUrl(currentView.tab.url, currentView.view.webContents.getURL())));
currentView.setBounds(getAdjustedWindowBoundaries(bounds.width!, bounds.height!, !(urlUtils.isTeamUrl(currentView.tab.url, currentView.view.webContents.getURL()) || urlUtils.isAdminUrl(currentView.tab.url, currentView.view.webContents.getURL()))));
}
};