Only allow routes without workspace prefix if you are in non-plugin mode (#1786)
This commit is contained in:
parent
3ede6df028
commit
537e015c72
1 changed files with 22 additions and 21 deletions
|
@ -218,6 +218,7 @@ const App = React.memo((): JSX.Element => {
|
|||
<WelcomePage/>
|
||||
</Route>
|
||||
|
||||
{!Utils.isFocalboardPlugin() &&
|
||||
<Route
|
||||
path='/:boardId?/:viewId?/:cardId?'
|
||||
render={({match: {params: {boardId, viewId, cardId}}}) => {
|
||||
|
@ -242,7 +243,7 @@ const App = React.memo((): JSX.Element => {
|
|||
|
||||
return null
|
||||
}}
|
||||
/>
|
||||
/>}
|
||||
</Switch>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue