ui: reflect readonly mode by hiding controls + various small styling fixes

This commit is contained in:
dswbx
2025-09-05 17:09:50 +02:00
parent 1df87c8a16
commit af573cc79a
18 changed files with 153 additions and 74 deletions

View File

@@ -232,7 +232,7 @@ const PopoverTable = ({
data={container ?? []}
entity={entity}
select={query.select}
total={container.meta?.count}
total={container.body.meta?.count}
page={query.page}
onClickRow={onClickRow}
onClickPage={onClickPage}

View File

@@ -8,7 +8,9 @@ import { s } from "bknd/utils";
import { cloneSchema } from "core/utils/schema";
const schema = s.object({
name: entitySchema.properties.name,
name: s.string({
pattern: /^[a-z][a-zA-Z_]+$/,
}),
config: entitySchema.properties.config.partial().optional(),
});
type Schema = s.Static<typeof schema>;