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; }