select
This commit is contained in:
@@ -13,10 +13,7 @@ interface ContextMenuProps {
|
||||
};
|
||||
existingLabels: string[];
|
||||
// entityMappings: EntityMapping[]; // SUPPRIMER cette ligne
|
||||
onApplyLabel: (
|
||||
displayName: string,
|
||||
applyToAll?: boolean
|
||||
) => void;
|
||||
onApplyLabel: (displayName: string, applyToAll?: boolean) => void;
|
||||
onApplyColor: (
|
||||
color: string,
|
||||
colorName: string,
|
||||
@@ -167,7 +164,7 @@ export const ContextMenu: React.FC<ContextMenuProps> = ({
|
||||
defaultValue=""
|
||||
>
|
||||
<option value="" disabled>
|
||||
Chosi
|
||||
Choisissez un label
|
||||
</option>
|
||||
{existingLabels.map((label) => (
|
||||
<option key={label} value={label}>
|
||||
|
||||
Reference in New Issue
Block a user