fix persisting of many to many entity

This commit is contained in:
dswbx
2025-02-18 15:43:19 +01:00
parent 400db84dd5
commit f494735a79
12 changed files with 86 additions and 70 deletions

View File

@@ -155,7 +155,7 @@ function EntityCreateButton({ entity }: { entity: Entity }) {
const [navigate] = useNavigate();
if (!entity) return null;
if (entity.type !== "regular") {
if (entity.type === "system") {
const system = {
users: b.app.config.auth.entity_name,
media: b.app.config.media.entity_name