diff --git a/apps/nestjs-backend/src/features/field/field-calculate/field-converting.service.ts b/apps/nestjs-backend/src/features/field/field-calculate/field-converting.service.ts index eb364e344..fd7f23a92 100644 --- a/apps/nestjs-backend/src/features/field/field-calculate/field-converting.service.ts +++ b/apps/nestjs-backend/src/features/field/field-calculate/field-converting.service.ts @@ -1262,13 +1262,14 @@ export class FieldConvertingService { return; } await this.convertSelectChoiceOps(views, tableId, fieldId, updateNameOptions, deleteOptions); + return; } - // judge the operator is same groups or cellValueType is same, otherwise delete the filter + // judge the operator is same groups or cellValueType is same, otherwise delete the filter item if ( - newField.type !== oldField.type && - !isEqual(oldOperators, newOperators) && - oldField.cellValueType !== newField.cellValueType + (newField.type !== oldField.type && !isEqual(oldOperators, newOperators)) || + oldField.cellValueType !== newField.cellValueType || + oldField?.isMultipleCellValue !== newField?.isMultipleCellValue ) { for (let i = 0; i < views.length; i++) { const viewId = views[i].id; diff --git a/packages/sdk/src/components/cell-value/cell-user/UserTag.tsx b/packages/sdk/src/components/cell-value/cell-user/UserTag.tsx index 7afda0e43..c96ae61f9 100644 --- a/packages/sdk/src/components/cell-value/cell-user/UserTag.tsx +++ b/packages/sdk/src/components/cell-value/cell-user/UserTag.tsx @@ -13,9 +13,9 @@ export const UserTag = (props: IUserTag) => { const { name, avatar, suffix, className } = props; return ( -
{name}
diff --git a/packages/sdk/src/components/filter/view-filter/component/FilterUserSelect.tsx b/packages/sdk/src/components/filter/view-filter/component/FilterUserSelect.tsx index a0da608e1..96e13762f 100644 --- a/packages/sdk/src/components/filter/view-filter/component/FilterUserSelect.tsx +++ b/packages/sdk/src/components/filter/view-filter/component/FilterUserSelect.tsx @@ -82,6 +82,7 @@ const FilterUserSelectBase = (props: IFilterUserBaseProps) => { ) } name={option.label} + className="flex-1 truncate" />