Skip to content

Commit

Permalink
Check if showModalPathInUrl flag is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu007-creator authored Oct 22, 2021
1 parent dea4129 commit 3aa48d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/services/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ class RoutingClass {
if (featureToggleProperty) {
RoutingHelpers.setFeatureToggles(featureToggleProperty, path);
}

await this.handleBookmarkableModalPath();
const isShowModalPathInUrl = LuigiConfig.getConfigValue('routing.showModalPathInUrl');
if (isShowModalPathInUrl) {
await this.handleBookmarkableModalPath();
}

const previousCompData = component.get();
this.checkInvalidateCache(previousCompData, path);
Expand Down

0 comments on commit 3aa48d9

Please sign in to comment.