File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
client/packages/lowcoder/src Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,6 @@ export default function ThemeSettingsSelector(props: ColorConfigProps) {
428
428
size = "small"
429
429
checked = { showComponentLoaders }
430
430
onChange = { ( value ) => {
431
- debugger ;
432
431
setComponentLoaders ( value )
433
432
configChange ( { themeSettingKey, showComponentLoadingIndicators : value } ) ;
434
433
} }
Original file line number Diff line number Diff line change @@ -465,8 +465,8 @@ export function genSelectionParams(
465
465
filterData : RecordType [ ] ,
466
466
selection : string
467
467
) : Record < string , unknown > | undefined {
468
- const idx = filterData . findIndex ( ( row ) => row [ OB_ROW_ORI_INDEX ] === selection ) ;
469
- if ( idx < 0 ) {
468
+ const idx = filterData ? .findIndex ( ( row ) => row [ OB_ROW_ORI_INDEX ] === selection ) ;
469
+ if ( ! Boolean ( filterData ) || idx < 0 ) {
470
470
return undefined ;
471
471
}
472
472
const currentRow = filterData [ idx ] ;
Original file line number Diff line number Diff line change @@ -87,10 +87,6 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
87
87
|| isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
88
88
|| isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
89
89
) && action . path [ 1 ] === SELECTED_KEY ) {
90
- if ( action . path [ 0 ] === MAP_KEY && action . path [ 1 ] === SELECTED_KEY ) {
91
- action . path [ 1 ] = this . selection ;
92
- comp = super . reduce ( action ) ;
93
- }
94
90
// broadcast
95
91
const newAction = {
96
92
...action ,
You can’t perform that action at this time.
0 commit comments