Skip to content
Snippets Groups Projects
Commit 4ec1fc34 authored by Manikanth Dindigala's avatar Manikanth Dindigala
Browse files

fix: removed the obsolete code.

parent d15f3030
No related branches found
No related tags found
1 merge request!55fix/#105: navigating from tido homepage to website
Pipeline #218656 passed
......@@ -93,9 +93,7 @@ export default {
}),
computed: {
getPath(){
// we need this condition check because of computed reactive property.
// this.$route.path changes everytime we navigate between pages, so get path will always get's updated.
return window?.location?.origin + (window?.location?.pathname !== this.$route.path ? window?.location?.pathname : this.$route.path);
return window?.location?.origin;
}
}
}
......
......@@ -48,9 +48,7 @@ export default {
}),
computed: {
getPath(){
// we need this condition check because of computed reactive property.
// this.$route.path changes everytime we navigate between pages, so get path will always get's updated.
return window?.location?.origin + (window?.location?.pathname !== this.$route.path ? window?.location?.pathname : this.$route.path);
return window?.location?.origin;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment