mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 02:36:38 +00:00
minor changes to verbiage and id value
This commit is contained in:
@@ -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`
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user