mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
refactored options_init to options on frontend
This commit is contained in:
@@ -2,7 +2,7 @@ import server from "../../services/server.js";
|
||||
import utils from "../../services/utils.js";
|
||||
import cssLoader from "../../services/css_loader.js";
|
||||
import zoomService from "../../services/zoom.js";
|
||||
import optionsInit from "../../services/options_init.js";
|
||||
import optionsService from "../../services/options.js";
|
||||
|
||||
export default class ApperanceOptions {
|
||||
constructor() {
|
||||
@@ -45,7 +45,7 @@ export default class ApperanceOptions {
|
||||
const hideTabRowForOneTab = this.$oneTabDisplaySelect.val() === 'hide' ? 'true' : 'false';
|
||||
|
||||
server.put('options/hideTabRowForOneTab/' + hideTabRowForOneTab)
|
||||
.then(optionsInit.reloadOptions);
|
||||
.then(optionsService.reloadOptions);
|
||||
});
|
||||
|
||||
this.$leftPaneMinWidth.change(async () => {
|
||||
|
||||
Reference in New Issue
Block a user