summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-03-08 17:29:50 +0100
committeradamhrv <adam@ahprojects.com>2019-03-08 17:29:50 +0100
commit5bcbb24791062b6524c06e2bf2bd4a61965ba6e8 (patch)
tree24627b5b336da71ec9605e22dff3fb54b4d6a83d /client/index.js
parent1711097802c4e82b72fc9ff7490236a8a58793c4 (diff)
parente6c50e5550275b8e9d2245201c77c6f9fef7a11a (diff)
working
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()