renamed openTabs to openNoteContexts

This commit is contained in:
zadam
2023-04-11 22:00:04 +02:00
parent 17128c5874
commit 3f8bf7cacc
10 changed files with 26 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ const ALLOWED_OPTIONS = new Set([
'detailFontFamily',
'monospaceFontSize',
'monospaceFontFamily',
'openTabs',
'openNoteContexts',
'noteInfoWidget',
'attributesWidget',
'linkMapWidget',
@@ -102,8 +102,8 @@ function update(name, value) {
return false;
}
if (name !== 'openTabs') {
log.info(`Updating option ${name} to ${value}`);
if (name !== 'openNoteContexts') {
log.info(`Updating option '${name}' to '${value}'`);
}
optionService.setOption(name, value);