mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 00:56:01 +00:00
Merge remote-tracking branch 'origin/main' into release/0.12
# Conflicts: # app/src/ui/elements/auth/AuthForm.tsx
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"bin": "./dist/cli/index.js",
|
"bin": "./dist/cli/index.js",
|
||||||
"version": "0.11.1",
|
"version": "0.11.2",
|
||||||
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
||||||
"homepage": "https://bknd.io",
|
"homepage": "https://bknd.io",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -164,26 +164,36 @@ export function DataEntityUpdate({ params }) {
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</AppShell.SectionHeader>
|
</AppShell.SectionHeader>
|
||||||
<AppShell.Scrollable>
|
{$q.isLoading ? (
|
||||||
{error && (
|
<div className="w-full h-full flex justify-center items-center font-mono opacity-30">
|
||||||
<div className="flex flex-row dark:bg-red-950 bg-red-100 p-4">
|
Loading...
|
||||||
<b className="mr-2">Update failed: </b> {error}
|
</div>
|
||||||
</div>
|
) : (
|
||||||
)}
|
<AppShell.Scrollable>
|
||||||
<EntityForm
|
{error && (
|
||||||
entity={entity}
|
<div className="flex flex-row dark:bg-red-950 bg-red-100 p-4">
|
||||||
entityId={entityId}
|
<b className="mr-2">Update failed: </b> {error}
|
||||||
handleSubmit={handleSubmit}
|
</div>
|
||||||
fieldsDisabled={fieldsDisabled}
|
)}
|
||||||
data={data ?? undefined}
|
<EntityForm
|
||||||
Form={Form}
|
entity={entity}
|
||||||
action="update"
|
entityId={entityId}
|
||||||
className="flex flex-grow flex-col gap-3 p-3"
|
handleSubmit={handleSubmit}
|
||||||
/>
|
fieldsDisabled={fieldsDisabled}
|
||||||
{targetRelations.length > 0 ? (
|
data={data ?? undefined}
|
||||||
<EntityDetailRelations id={entityId} entity={entity} relations={targetRelations} />
|
Form={Form}
|
||||||
) : null}
|
action="update"
|
||||||
</AppShell.Scrollable>
|
className="flex flex-grow flex-col gap-3 p-3"
|
||||||
|
/>
|
||||||
|
{targetRelations.length > 0 ? (
|
||||||
|
<EntityDetailRelations
|
||||||
|
id={entityId}
|
||||||
|
entity={entity}
|
||||||
|
relations={targetRelations}
|
||||||
|
/>
|
||||||
|
) : null}
|
||||||
|
</AppShell.Scrollable>
|
||||||
|
)}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user