mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix lint
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
bc7a0b60be
commit
0ab850934d
@ -66,7 +66,7 @@ export function getWinRootCA(): Promise<string[]> {
|
|||||||
},
|
},
|
||||||
onend: () => {
|
onend: () => {
|
||||||
resolve(CAs.filter(isCertActive));
|
resolve(CAs.filter(isCertActive));
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,7 +54,7 @@ export const defaultEditorProps: Partial<MonacoEditorProps> = {
|
|||||||
get theme(): MonacoTheme {
|
get theme(): MonacoTheme {
|
||||||
// theme for monaco-editor defined in `src/renderer/themes/lens-*.json`
|
// theme for monaco-editor defined in `src/renderer/themes/lens-*.json`
|
||||||
return ThemeStore.getInstance().activeTheme.monacoTheme;
|
return ThemeStore.getInstance().activeTheme.monacoTheme;
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@observer
|
@observer
|
||||||
@ -104,7 +104,7 @@ export class MonacoEditor extends React.Component<MonacoEditorProps> {
|
|||||||
@computed get options(): editor.IStandaloneEditorConstructionOptions {
|
@computed get options(): editor.IStandaloneEditorConstructionOptions {
|
||||||
return merge({},
|
return merge({},
|
||||||
UserStore.getInstance().editorConfiguration,
|
UserStore.getInstance().editorConfiguration,
|
||||||
this.props.options
|
this.props.options,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user