From 970dcb8b8b7d99048ba18ffbfc2ee21c0b6df662 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 12 Aug 2019 15:40:25 +0200 Subject: [PATCH] null is an object --- www/common/outer/async-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 9ef18ecb5..a2e28f63b 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -244,7 +244,7 @@ define([ // data.force tells us we can safely remove the drive ID var channel = data; var force = false; - if (typeof(data) === "object") { + if (data && typeof(data) === "object") { channel = data.channel; force = data.force; }