aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/search-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/search-page.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/search-page.js b/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
index 81d4ac2..ee99ccc 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
@@ -151,9 +151,9 @@ async function fetchGroupIndex(groupId, token, bundleKey, username, userId) {
// Plural, with the old scalars as the fallback for a node still speaking
// MNP 1.0 — the same reading group-page.js does on its own handshake.
const roots = {
- video: ack.video_directories || (ack.video_root ? [ack.video_root] : []),
- music: ack.music_directories || (ack.audio_root ? [ack.audio_root] : []),
- photo: ack.photo_directories || ack.photo_roots || [],
+ video: ack.video_directories || [],
+ music: ack.music_directories || [],
+ photo: ack.photo_directories || [],
};
// Which of the reader's groups sit on their own node — the tie-breaker
// when the same file is announced by several of them