mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
refactoring of access to options in frontend
This commit is contained in:
@@ -38,7 +38,7 @@ const componentClasses = {
|
||||
let showSidebarInNewTab = true;
|
||||
|
||||
optionsInitService.addLoadListener(options => {
|
||||
showSidebarInNewTab = options.showSidebarInNewTab === '1';
|
||||
showSidebarInNewTab = options.is('showSidebarInNewTab');
|
||||
});
|
||||
|
||||
class TabContext {
|
||||
|
||||
Reference in New Issue
Block a user