This commit is contained in:
nBiqoz
2025-09-07 16:41:22 +02:00
parent a0e033b7eb
commit 3a84da5c74

View File

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