Skip to content

Commit a8eabd6

Browse files
committed
bug fix: datalink grid not working in some cases
1 parent 229899c commit a8eabd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firefly/js/metaConvert/vo/DataLinkProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function processDatalinkTable({sourceTable, row, datalinkTable, activateP
7878
if (index<0) index= 0;
7979
dispatchUpdateActiveKey({dpId, activeMenuKeyChanges:{[activeMenuLookupKey]:menu[index].menuKey}});
8080
}
81-
return dpdtFromMenu(menu,index,dlTableUrl);
81+
return dpdtFromMenu(menu,index<0?0:index,dlTableUrl);
8282
}
8383

8484
return dpdtMessage('No data available for this row',undefined,{activeMenuLookupKey});

0 commit comments

Comments
 (0)