From aa50eb573cdf73f7b04efd64982a156317bb79ca Mon Sep 17 00:00:00 2001 From: Sai Teja Madha <42540377+saiteja-madha@users.noreply.github.com> Date: Sat, 10 Sep 2022 00:46:47 -0700 Subject: [PATCH] Bug Fix: dashboard default select menu --- dashboard/views/manager/basic.ejs | 6 +++--- dashboard/views/manager/greeting.ejs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard/views/manager/basic.ejs b/dashboard/views/manager/basic.ejs index f723c8187..09ed1b709 100644 --- a/dashboard/views/manager/basic.ejs +++ b/dashboard/views/manager/basic.ejs @@ -102,7 +102,7 @@ <% }); %> <% } else { %> - + <% guild.channels.cache.filter((ch) => ch.type === 0).forEach((ch) => { %> <% }); %> @@ -138,7 +138,7 @@ <% }); %> <% } else { %> - + <% guild.channels.cache.filter((ch) => ch.type === 0).forEach((ch) => { %> <% }); %> @@ -193,7 +193,7 @@ <% }); %> <% } else { %> - + <% guild.channels.cache.filter((ch) => ch.type === 0).forEach((ch) => { %> <% }); %> diff --git a/dashboard/views/manager/greeting.ejs b/dashboard/views/manager/greeting.ejs index 42e0bb816..11d2646f6 100644 --- a/dashboard/views/manager/greeting.ejs +++ b/dashboard/views/manager/greeting.ejs @@ -69,7 +69,7 @@ <% guild.channels.cache.filter((ch) => ch.id !== guild.welcome.channel && ch.type === 0).forEach((ch) => { %> <% }); } else { %> - + <% guild.channels.cache.filter((ch) => ch.id !== guild.channels.cache.first().id && ch.type === 0).forEach((ch) => { %> <% }); %> @@ -140,7 +140,7 @@ <% guild.channels.cache.filter((ch) => ch.id !== guild.farewell.channel && ch.type === 0).forEach((ch) => { %> <% }); } else { %> - + <% guild.channels.cache.filter((ch) => ch.id !== guild.channels.cache.first().id && ch.type === 0).forEach((ch) => { %> <% }); %>