aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-09 11:49:39 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-09 11:49:39 +1000
commit345c96f99aa98d5e90a46fa3f175ec0a2e6d4f36 (patch)
tree11b638898bf80f1e58b63b1246990ba07f9dcb38 /src/App.vue
parent5569c8191ae02f109254282b5943e3ed40032018 (diff)
Fix links-to-node failing on load
Was setting SERVER_URL incorrectly Also changed server API to include 'excl' param
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index 77de7ca..784b15d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -865,7 +865,7 @@ export default defineComponent({
let urlParams = new URLSearchParams({type: 'node', tree: this.uiOpts.tree});
if (nodeName != null){
urlParams.append('name', nodeName);
- urlParams.append('toroot', this.activeRoot.name);
+ urlParams.append('toroot', '1');
}
let responseObj: {[x: string]: TolNode} = await this.loadFromServer(urlParams);
if (responseObj == null){