diff --git a/webapp/src/app.tsx b/webapp/src/app.tsx index 1c653c2df..145be4d59 100644 --- a/webapp/src/app.tsx +++ b/webapp/src/app.tsx @@ -218,31 +218,32 @@ const App = React.memo((): JSX.Element => { - { - // Since these 3 path values are optional and they can be anything, we can pass /x/y/z and it will - // match this route however these values may not be valid so we should at the very least check - // board id for descisions made below - const boardIdIsValidUUIDV4 = UUID_REGEX.test(boardId || '') + {!Utils.isFocalboardPlugin() && + { + // Since these 3 path values are optional and they can be anything, we can pass /x/y/z and it will + // match this route however these values may not be valid so we should at the very least check + // board id for descisions made below + const boardIdIsValidUUIDV4 = UUID_REGEX.test(boardId || '') - if (loggedIn === false) { - return - } + if (loggedIn === false) { + return + } - if (continueToWelcomeScreen()) { - const originalPath = `/${Utils.buildOriginalPath('', boardId, viewId, cardId)}` - const queryString = boardIdIsValidUUIDV4 ? `r=${originalPath}` : '' - return - } + if (continueToWelcomeScreen()) { + const originalPath = `/${Utils.buildOriginalPath('', boardId, viewId, cardId)}` + const queryString = boardIdIsValidUUIDV4 ? `r=${originalPath}` : '' + return + } - if (loggedIn === true) { - return - } + if (loggedIn === true) { + return + } - return null - }} - /> + return null + }} + />}