Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDoberer committed Dec 1, 2023
1 parent 1654c90 commit 757d8cf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/src/services/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ class RoutingClass {
return LuigiConfig.getConfigValue('routing.useHashRouting')
? window.location.hash.replace('#', '') // TODO: GenericHelpers.getPathWithoutHash(window.location.hash) fails in ContextSwitcher
: window.location.search
? GenericHelpers.trimLeadingSlash(window.location.pathname) + window.location.search
: GenericHelpers.trimLeadingSlash(window.location.pathname);
? GenericHelpers.trimLeadingSlash(window.location.pathname) + window.location.search
: GenericHelpers.trimLeadingSlash(window.location.pathname);
}

/**
Expand Down Expand Up @@ -204,7 +204,7 @@ class RoutingClass {
this.resolveUnsavedChanges(path, component, iframeElement, config, newUrl);
},
// user clicks no, do nothing, reject promise
() => { }
() => {}
);
}

Expand Down Expand Up @@ -443,10 +443,10 @@ class RoutingClass {
Object.assign({}, newNodeData, {
previousNodeValues: previousCompData
? {
viewUrl: previousCompData.viewUrl,
isolateView: previousCompData.isolateView,
viewGroup: previousCompData.viewGroup
}
viewUrl: previousCompData.viewUrl,
isolateView: previousCompData.isolateView,
viewGroup: previousCompData.viewGroup
}
: {}
})
);
Expand Down

0 comments on commit 757d8cf

Please sign in to comment.