File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export class EditorController extends Controller implements IEditorController {
43
43
public updateCurrentValue = ( ) => {
44
44
const { current } = editorService . getState ( ) ;
45
45
const newValue = current ?. tab ?. data ?. value ;
46
- if ( newValue ) current ?. editorInstance . setValue ( newValue ) ;
46
+ if ( newValue ) current ?. editorInstance ? .setValue ( newValue ) ;
47
47
} ;
48
48
public onCloseTab = ( tabKey ?: string , groupId ?: number ) => {
49
49
if ( tabKey && groupId ) {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export const baseContextMenu = [
90
90
91
91
export const rootFolderContextMenu = [
92
92
{
93
- id : RENAME_COMMAND_ID ,
93
+ id : REMOVE_COMMAND_ID ,
94
94
name : 'Remove Folder' ,
95
95
} ,
96
96
] ;
Original file line number Diff line number Diff line change 3
3
#{$modal } {
4
4
background-color : var (--notification-background );
5
5
border-color : var (--notification-border );
6
- color : var (--notification -foreground );
6
+ color : var (--button -foreground );
7
7
8
8
& -mask {
9
9
background-color : var (--widgetShadow );
26
26
27
27
& -content ,
28
28
& -close {
29
- color : var (--notification -foreground );
29
+ color : var (--button -foreground );
30
30
}
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments