diff --git a/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue b/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue index 43a5a56b0ce..8c3c3069a6f 100644 --- a/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue +++ b/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue @@ -641,7 +641,7 @@ this.allowLearnerDownloadResources = allow_learner_download_resources; this.enableAutomaticDownload = enable_automatic_download; if (set_limit_for_autodownload === false) { - if (this.freeSpace === 0) { + if (this.freeSpace === null) { this.setFreeSpace().then(() => { this.limitForAutodownload = parseInt(this.freeSpace * 0.8).toString(); });