Use record page layouts in the merge records feature (#18961)
There was a design issue. It revealed that we weren't using record page layouts in the merge records feature. ## Before <img width="802" height="1283" alt="image" src="https://github.com/user-attachments/assets/e4238144-e10e-47a6-83e6-7cc03ca89b15" /> ## After https://github.com/user-attachments/assets/c0fa9cf5-2b28-4696-bf20-8271dce9e62c
This commit is contained in:
committed by
GitHub
parent
d126d54bbc
commit
cfefe9273b
@@ -1,7 +0,0 @@
|
||||
import { type CardConfiguration } from '@/object-record/record-show/types/CardConfiguration';
|
||||
import { type CardType } from '@/object-record/record-show/types/CardType';
|
||||
|
||||
export type LayoutCard = {
|
||||
type: CardType;
|
||||
configuration?: CardConfiguration;
|
||||
};
|
||||
@@ -1,4 +1,3 @@
|
||||
import { type LayoutCard } from '@/ui/layout/tab-list/types/LayoutCard';
|
||||
import { type IconComponent } from 'twenty-ui/display';
|
||||
|
||||
export type SingleTabProps<T extends string = string> = {
|
||||
@@ -8,6 +7,5 @@ export type SingleTabProps<T extends string = string> = {
|
||||
hide?: boolean;
|
||||
disabled?: boolean;
|
||||
pill?: string | React.ReactElement;
|
||||
cards?: LayoutCard[];
|
||||
logo?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user