feat: option to disable what's new modal

This commit is contained in:
Timothy J. Baek committed 2024-10-26 19:44:46 -07:00
1 parent 5537b2dc2c
commit e6ca994c92
2 files changed
+125 -94

No files matched your search

+1 -1
View File
@@ -190,7 +190,7 @@
}
});
if ($user.role === 'admin') {
if ($user.role === 'admin' && ($settings?.showChangelog ?? true)) {
showChangelog.set($settings?.version !== $config.version);
}