Showing 671 of 671 total issues
Avoid too many return
statements within this function. Open
Open
return (
<LinkEditor
className={className}
cellValue={cellValue as ILinkCellValue | ILinkCellValue[]}
options={options as ILinkFieldOptions}
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.Boolean,
data: (cellValue as boolean) || false,
isMultiple,
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.Select,
data: cv,
displayData,
Avoid too many return
statements within this function. Open
Open
return (
<SelectEditor
ref={editorRef}
className={className}
value={cellValue as IMultipleSelectCellValue}
Avoid too many return
statements within this function. Open
Open
if (linearRow.type !== LinearRowType.Group) return;
Avoid too many return
statements within this function. Open
Open
return {
type: CellType.User,
data: data,
};
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.Text,
data: (cellValue as string) || '',
displayData,
Avoid too many return
statements within this function. Open
Open
return (
<DateEditor
ref={editorRef}
className={className}
options={options as IDateFieldOptions}
Avoid too many return
statements within this function. Open
Open
return InputComponent;
Avoid too many return
statements within this function. Open
Open
return {
type: CellType.Boolean,
data: (cellValue as boolean) || false,
isMultiple,
contentAlign: 'left',
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.Text,
data: (cellValue as string) || '',
displayData: field.cellValue2String(cellValue),
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.Chart,
data: cellValue as number[],
displayData: cellValue.map((v) => field.item2String(v)),
Avoid too many return
statements within this function. Open
Open
return {
type: CellType.Chart,
data: cellValue as number[],
displayData: cellValue.map((v) => field.item2String(v)),
chartType: showAs.type as unknown as ChartType,
Avoid too many return
statements within this function. Open
Open
return {
type: CellType.Select,
data,
displayData: data,
choiceSorted: field.options.choices,
Avoid too many return
statements within this function. Open
Open
return {
type: CellType.Rating,
data: (cellValue as number) || 0,
icon,
color: ColorUtils.getHexForColor(color),
Avoid too many return
statements within this function. Open
Open
return { type: CellType.Loading };
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.Text,
data: (cellValue as string) || '',
displayData,
Avoid too many return
statements within this function. Open
Open
return {
...baseCellProps,
type: CellType.User,
data: data,
customEditor: (props, editorRef) => (
Avoid too many return
statements within this function. Open
Open
return (
<SelectEditor
ref={editorRef}
className={className}
value={cellValue as ISingleSelectCellValue}