mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 03:51:36 +03:00
minor fix -- datamodel multiselect edit form dropdowns (#9168)
made sure dropdown gets unique ids.
This commit is contained in:
parent
52362812a5
commit
f65a90d137
@ -79,8 +79,8 @@ export const SettingsDataModelFieldSelectFormOptionRow = ({
|
|||||||
}: SettingsDataModelFieldSelectFormOptionRowProps) => {
|
}: SettingsDataModelFieldSelectFormOptionRowProps) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
|
||||||
const SELECT_COLOR_DROPDOWN_ID = 'select-color-dropdown';
|
const SELECT_COLOR_DROPDOWN_ID = `select-color-dropdown-${option.id}`;
|
||||||
const SELECT_ACTIONS_DROPDOWN_ID = 'select-actions-dropdown';
|
const SELECT_ACTIONS_DROPDOWN_ID = `select-actions-dropdown-${option.id}`;
|
||||||
|
|
||||||
const { closeDropdown: closeColorDropdown } = useDropdown(
|
const { closeDropdown: closeColorDropdown } = useDropdown(
|
||||||
SELECT_COLOR_DROPDOWN_ID,
|
SELECT_COLOR_DROPDOWN_ID,
|
||||||
|
Loading…
Reference in New Issue
Block a user