Commit c0ec5285 authored by Marco Sehrer's avatar Marco Sehrer
Browse files

Fix sharing url navigation

parent c4fe05a7
...@@ -8,7 +8,8 @@ export default class ShareButton extends React.Component { ...@@ -8,7 +8,8 @@ export default class ShareButton extends React.Component {
} }
showShareModal() { showShareModal() {
Aviator.navigate(Aviator.getCurrentURI()+'/sharing'); let [url, query] = Aviator.getCurrentURI().split('?')
Aviator.navigate(url+'/sharing?'+query);
} }
render() { render() {
......
...@@ -34,8 +34,8 @@ export default class ShareModal extends React.Component { ...@@ -34,8 +34,8 @@ export default class ShareModal extends React.Component {
} }
hideModal() { hideModal() {
//window.history.back(); let [url, query] = Aviator.getCurrentURI().split('?')
Aviator.navigate(Aviator.getCurrentURI()+'/hide'); Aviator.navigate(url+'/hide?'+query);
} }
handleSharing() { handleSharing() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment