refactoring of access to options in frontend

This commit is contained in:
zadam
2019-08-22 23:31:02 +02:00
parent b84542064c
commit f9abea83f3
13 changed files with 93 additions and 62 deletions

View File

@@ -38,7 +38,7 @@ const componentClasses = {
let showSidebarInNewTab = true;
optionsInitService.addLoadListener(options => {
showSidebarInNewTab = options.showSidebarInNewTab === '1';
showSidebarInNewTab = options.is('showSidebarInNewTab');
});
class TabContext {