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) {
428428 size = "small"
429429 checked = { showComponentLoaders }
430430 onChange = { ( value ) => {
431- debugger ;
432431 setComponentLoaders ( value )
433432 configChange ( { themeSettingKey, showComponentLoadingIndicators : value } ) ;
434433 } }
Original file line number Diff line number Diff line change @@ -465,8 +465,8 @@ export function genSelectionParams(
465465 filterData : RecordType [ ] ,
466466 selection : string
467467) : 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 ) {
470470 return undefined ;
471471 }
472472 const currentRow = filterData [ idx ] ;
Original file line number Diff line number Diff line change @@ -87,10 +87,6 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
8787 || isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
8888 || isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
8989 ) && 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- }
9490 // broadcast
9591 const newAction = {
9692 ...action ,
You can’t perform that action at this time.
0 commit comments