feat: option to disable what's new modal

This commit is contained in:
Timothy J. Baek
2024-10-26 19:44:46 -07:00
parent 5537b2dc2c
commit e6ca994c92
2 changed files with 125 additions and 94 deletions
+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);
}