mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-08 15:06:08 +02:00
Fixed a bug preventing any navigation in Mattermost desktop with subpath (#2922)
This commit is contained in:
parent
7bd6f47eb9
commit
478c091c53
@ -87,12 +87,12 @@ function customHistory() {
|
||||
}
|
||||
|
||||
const pathName = event.data.message?.pathName
|
||||
if (!pathName || !pathName.startsWith(windowAny.frontendBaseURL)) {
|
||||
if (!pathName || !pathName.startsWith('/boards')) {
|
||||
return
|
||||
}
|
||||
|
||||
Utils.log(`Navigating Boards to ${pathName}`)
|
||||
history.replace(pathName.replace(windowAny.frontendBaseURL, ''))
|
||||
history.replace(pathName.replace('/boards', ''))
|
||||
})
|
||||
}
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user