From fdb9e4515eab49eb58976a387b6f7df16d388579 Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 1 Jun 2018 18:04:04 -0300 Subject: Don't do anything when attempting to download a group --- ui.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui.js b/ui.js index 0c2be5f..189aa85 100644 --- a/ui.js +++ b/ui.js @@ -160,7 +160,12 @@ class AppElement extends FocusElement { } async downloadGrouplikeItem(item) { - // TODO: Check if it's an item or a group + if (isGroup(item)) { + // TODO: Download all children (recursively), show a confirmation prompt + // if there are a lot of items (remember to flatten). + return + } + const arg = item.downloaderArg this.recordStore.getRecord(item).downloading = true try { -- cgit 1.3.0-6-gf8a5