File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ var layoutConfig = {
6666 }
6767 } , {
6868 type : "column" ,
69- content : [ configuration . getConfig ( ) . appOptions . showAIAssistant ? {
69+ content : [ configuration . get ( " appOptions.showAIAssistant" ) ? {
7070 type : "component" ,
7171 height : 66 ,
7272 componentName : "ai" ,
@@ -575,7 +575,7 @@ document.addEventListener("DOMContentLoaded", async function () {
575575
576576 sourceEditor . addCommand ( monaco . KeyMod . CtrlCmd | monaco . KeyCode . Enter , run ) ;
577577
578- if ( configuration . getConfig ( ) . appOptions . showAIAssistant ) {
578+ if ( configuration . get ( " appOptions.showAIAssistant" ) ) {
579579 monaco . languages . registerInlineCompletionsProvider ( '*' , {
580580 provideInlineCompletions : async ( model , position ) => {
581581 if ( ! puter . auth . isSignedIn ( ) || ! document . getElementById ( "judge0-inline-suggestions" ) . checked ) {
You can’t perform that action at this time.
0 commit comments