SupportHelper: Fix Plugin Length Error

This commit is contained in:
thororen1234 2025-09-07 20:08:16 -04:00
parent 125287c8c5
commit cdc15fb7a0
No known key found for this signature in database

View file

@ -165,7 +165,7 @@ function generatePluginList() {
}
if (enabledPlugins.length > 100 && !(isPluginDev(UserStore.getCurrentUser()?.id) || isEquicordPluginDev(UserStore.getCurrentUser()?.id))) {
return Alerts.show({
Alerts.show({
title: "You are attempting to get support!",
body: <div>
<style>
@ -180,6 +180,8 @@ function generatePluginList() {
<Forms.FormText>try removing some plugins and see if it fixes!</Forms.FormText>
</div>
});
return "You have more than 100 plugins enabled, please reduce the number of enabled plugins to get support.";
}
return content;