Skip to content

Commit

Permalink
Merge branch 'next' into feat/onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik committed Mar 14, 2024
2 parents 7d19b5a + cd61c4e commit 355372b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/api/src/app/shared/services/file/file.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export class ExcelFileService {
XLSX.utils.sheet_to_csv(ws, {
blankrows: false,
skipHidden: true,
strip: true,
rawNumbers: true,
})
);
Expand Down
4 changes: 3 additions & 1 deletion apps/widget/src/components/Common/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ Handsontable.renderers.registerRenderer(
TD.classList.add('custom-cell');
$(TD).tooltip('dispose');
const soureData = instance.getSourceDataAtRow(row) as IRecord;
const fieldValue = typeof soureData.record[name] === 'undefined' ? '' : soureData.record[name];
let fieldValue = typeof soureData.record[name] === 'undefined' ? '' : soureData.record[name];
if (typeof fieldValue === 'string' && fieldValue.length > name.length + 20)
fieldValue = value.substring(0, name.length + 20) + '...';

if (soureData.errors && soureData.errors[name]) {
$(TD).tooltip({
Expand Down

0 comments on commit 355372b

Please sign in to comment.