SupportHelper: Fix Plugin Length Error
This commit is contained in:
parent
125287c8c5
commit
cdc15fb7a0
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue