summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/index.js')
-rw-r--r--client/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/index.js b/client/index.js
index 9db88f14..1e4e2eb8 100644
--- a/client/index.js
+++ b/client/index.js
@@ -80,7 +80,7 @@ function runApplets() {
url = null
}
}
- if (!dataset && !url) {
+ if (('datasets' in payload) && !dataset && !url) {
const path = window.location.pathname.split('/').filter(s => !!s)
if (path.length) {
dataset = path.pop()