Merge pull request #8251 from ToolJet/release/v2.24.4

Release v2.24.4
This commit is contained in:
Midhun G S 2023-12-06 19:10:03 +05:30 committed by GitHub
commit c20ec780d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View file

@ -1 +1 @@
2.24.3
2.24.4

View file

@ -1 +1 @@
2.24.3
2.24.4

View file

@ -120,8 +120,10 @@ export const getWorkspaceIdOrSlugFromURL = () => {
};
export const excludeWorkspaceIdFromURL = (pathname) => {
if (!['/integrations', '/applications/', '/switch-workspace'].find((path) => pathname.startsWith(path))) {
pathname = getSubpath() ? pathname.replace(getSubpath(), '') : pathname;
const subPath = getSubpath();
const tempPathname = subPath ? pathname.replace(subPath, '') : pathname;
if (!['/integrations', '/applications/', '/switch-workspace'].find((path) => tempPathname.startsWith(path))) {
pathname = tempPathname;
const paths = pathname?.split('/').filter((path) => path !== '');
paths.shift();
const newPath = paths.join('/');

View file

@ -1 +1 @@
2.24.3
2.24.4