Fix new plugins not showing

This commit is contained in:
Sqaaakoi 2024-08-25 09:04:55 +12:00
parent 317c386933
commit d567b3cee9
No known key found for this signature in database

View file

@ -172,7 +172,7 @@ function makeDependencyList(deps: string[]) {
export async function openNewPluginsModal() { export async function openNewPluginsModal() {
const newPlugins = await getNewPlugins(); const newPlugins = await getNewPlugins();
const newSettings = await getNewSettings(); const newSettings = await getNewSettings();
if (newSettings.size && !hasSeen) { if ((newPlugins.size || newSettings.size) && !hasSeen) {
hasSeen = true; hasSeen = true;
openModal(modalProps => ( openModal(modalProps => (
<NewPluginsModal <NewPluginsModal