This commit is contained in:
Fred KISSIE
2026-04-24 08:33:43 +02:00
parent da4dd88fdd
commit c746e1bc8d
4 changed files with 257 additions and 67 deletions

View File

@@ -1572,7 +1572,22 @@ export function InternalResourceForm({
<FormLabel>
{t("machineClients")}
</FormLabel>
<Popover>
<MachinesSelector
{...field}
selectedMachines={
field.value ?? []
}
orgId={orgId}
onSelectMachines={(
machines
) => {
form.setValue(
"clients",
machines
);
}}
/>
{/* <Popover>
<PopoverTrigger asChild>
<FormControl>
<Button
@@ -1638,7 +1653,7 @@ export function InternalResourceForm({
}}
/>
</PopoverContent>
</Popover>
</Popover> */}
<FormMessage />
</FormItem>
)}