fix(dashboard): user invite search (#9973)
**What** - fix prefix for table search which caused the other table rendered on the page to fire query - additionally, fix a typo in js SDK and only format the file --- FIXES SUP-112 CLOSES https://github.com/medusajs/medusa/issues/9968
This commit is contained in:
@@ -32,7 +32,7 @@ import {
|
||||
} from "../../../../../hooks/api/invites"
|
||||
import { useUserInviteTableQuery } from "../../../../../hooks/table/query/use-user-invite-table-query"
|
||||
import { useDataTable } from "../../../../../hooks/use-data-table"
|
||||
import { isFetchError } from "../../../../../lib/is-fetch-error.ts"
|
||||
import { isFetchError } from "../../../../../lib/is-fetch-error"
|
||||
|
||||
const InviteUserSchema = zod.object({
|
||||
email: zod.string().email(),
|
||||
@@ -168,6 +168,7 @@ export const InviteUserForm = () => {
|
||||
search="autofocus"
|
||||
isLoading={isLoading}
|
||||
queryObject={raw}
|
||||
prefix={PREFIX}
|
||||
orderBy={[
|
||||
{ key: "email", label: t("fields.email") },
|
||||
{ key: "created_at", label: t("fields.createdAt") },
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user