basic implementation of note tree's config

This commit is contained in:
zadam
2020-05-02 00:28:40 +02:00
parent 5c35b870eb
commit fe53e2351c
9 changed files with 343 additions and 218 deletions

View File

@@ -110,7 +110,9 @@ async function getUserThemes() {
function isAllowed(name) {
return ALLOWED_OPTIONS.has(name)
|| name.startsWith("keyboardShortcuts")
|| name.endsWith("Collapsed");
|| name.endsWith("Collapsed")
|| name.startsWith("hideArchivedNotes")
|| name.startsWith("hideIncludedImages");
}
module.exports = {