Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/preserve view #102

Merged
merged 21 commits into from
Sep 25, 2018
Merged

Bugfix/preserve view #102

merged 21 commits into from
Sep 25, 2018

Conversation

maxmarkus
Copy link
Contributor

Refactored preserve view to be able to route to non-child routes and back.

Fixes #97


const addPreserveView = (component, data, config, node) => {
if (data.params.preserveView) {
console.log('TCL: addPreserveView -> data', data, node);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please get rid of console logs

nextPath: nextPath.startsWith('/') ? nextPath : '/' + nextPath,
context: component.get().context
});
console.log('pv', pv);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please get rid of console logs

@maxmarkus maxmarkus merged commit 491d9b0 into SAP:master Sep 25, 2018
@maxmarkus maxmarkus deleted the bugfix/preserve-view branch September 25, 2018 09:56
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
Refactored preserve view to be able to route to everywhere and back, added root /settings page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants