We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d661f4b + 6da3704 commit e3b25f7Copy full SHA for e3b25f7
app/static/app/js/components/SwitchModeButton.jsx
@@ -30,9 +30,9 @@ class SwitchModeButton extends React.Component {
30
handleClick(){
31
if (this.props.task){
32
const target = this.props.type === 'mapToModel' ? '3d' : 'map';
33
-
+
34
let url = this.props.public ?
35
- `../${target}/`
+ `/public/task/${this.props.task.id}/${target}/`
36
: `/${target}/project/${this.props.task.project}/task/${this.props.task.id}/`;
37
38
location.href = url;
0 commit comments