minor changes to verbiage and id value

This commit is contained in:
Milo Schwartz 2025-02-01 21:11:31 -05:00
parent b5420a40ab
commit 53660a163c
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View file

@ -75,7 +75,7 @@ export async function transferResource(
return next( return next(
createHttpError( createHttpError(
HttpCode.BAD_REQUEST, HttpCode.BAD_REQUEST,
`Resource is already assigned to site with ID ${siteId}` `Resource is already assigned to this site`
) )
); );
} }

View file

@ -396,7 +396,7 @@ export default function GeneralForm() {
(site) => ( (site) => (
<CommandItem <CommandItem
value={ value={
site.name `${site.name}:${site.siteId}`
} }
key={ key={
site.siteId site.siteId
@ -431,8 +431,7 @@ export default function GeneralForm() {
</PopoverContent> </PopoverContent>
</Popover> </Popover>
<FormDescription> <FormDescription>
Select the site you want to Select the new site to transfer this resource to.
transfer this resource to
</FormDescription> </FormDescription>
<FormMessage /> <FormMessage />
</FormItem> </FormItem>