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 {
}
showShareModal() {
Aviator.navigate(Aviator.getCurrentURI()+'/sharing');
let [url, query] = Aviator.getCurrentURI().split('?')
Aviator.navigate(url+'/sharing?'+query);
}
render() {
......
......@@ -34,8 +34,8 @@ export default class ShareModal extends React.Component {
}
hideModal() {
//window.history.back();
Aviator.navigate(Aviator.getCurrentURI()+'/hide');
let [url, query] = Aviator.getCurrentURI().split('?')
Aviator.navigate(url+'/hide?'+query);
}
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