mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 18:18:55 +01:00
fix(client): error in trace when changing settings that requires refresh
This commit is contained in:
parent
3db9076230
commit
09cc487e68
@ -61,7 +61,9 @@ export default class OptionsWidget extends NoteContextAwareWidget {
|
||||
async refreshWithNote(note) {
|
||||
const options = await server.get('options');
|
||||
|
||||
this.optionsLoaded(options);
|
||||
if (options) {
|
||||
this.optionsLoaded(options);
|
||||
}
|
||||
}
|
||||
|
||||
async entitiesReloadedEvent({loadResults}) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user