changes.handleChange(name)}
+ disabled={false}
+ plugin={p}
+ isNew={newPlugins?.includes(p.name)}
+ key={p.name}
+ />
+ );
}
- } else {
- plugins = requiredPlugins = No plugins meet search criteria.;
}
return (
@@ -333,9 +359,18 @@ export default function PluginSettings() {
Plugins
-
- {plugins}
-
+ {plugins.length || requiredPlugins.length
+ ? (
+
+ {plugins.length
+ ? plugins
+ : No plugins meet the search criteria.
+ }
+
+ )
+ :
+ }
+
@@ -343,7 +378,10 @@ export default function PluginSettings() {
Required Plugins
- {requiredPlugins}
+ {requiredPlugins.length
+ ? requiredPlugins
+ : No plugins meet the search criteria.
+ }
);
diff --git a/src/main/monacoWin.html b/src/main/monacoWin.html
index 61d075ff2..ca7d0a78c 100644
--- a/src/main/monacoWin.html
+++ b/src/main/monacoWin.html
@@ -5,8 +5,8 @@
Vencord QuickCSS Editor
@@ -29,8 +29,8 @@
@@ -38,7 +38,7 @@