From 4e492ee490f2158b57c090b3377826fd411ddee9 Mon Sep 17 00:00:00 2001 From: Cristiano Pires Date: Sun, 6 Aug 2023 00:24:22 +0100 Subject: [PATCH] Discord Channel not sjowing on old feeds --- public/js/dashboard.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/dashboard.js b/public/js/dashboard.js index 0cac4b5..1a639ea 100644 --- a/public/js/dashboard.js +++ b/public/js/dashboard.js @@ -468,6 +468,11 @@ async function updateFeed(element) element.parentNode.parentNode.classList.add('hidden'); var FeedWrapper = document.getElementById('FeedWrapper'); FeedWrapper.classList.remove('hidden'); + document.getElementById('DCchannelID').innerHTML = ''; + for(var channel of guildsCache.get(element.parentNode.parentNode.childNodes[3].id).guildTextChannels) + { + document.getElementById('DCchannelID').innerHTML += ``; + } document.getElementById('ChannelName').innerText = element.textContent; document.getElementById('ChannelName').classList =''; document.getElementById('ChannelName').classList.add(element.id);