From 1dcb61dab45b4891b1b737877d3d95e1211f33b3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 8 Mar 2019 17:19:36 +0100 Subject: sortable dataset list --- client/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/index.js') 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() -- cgit v1.2.3-70-g09d2