From e71e7c1b967f8dfcbf950e0603c09002513a59c7 Mon Sep 17 00:00:00 2001 From: Tim Leikauf Date: Sat, 20 Jun 2026 21:15:34 +0200 Subject: [PATCH] fix: prompt-styles kategorie_id als linkedField zu categories Co-Authored-By: Claude Sonnet 4.6 --- src/lib/tables.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/tables.js b/src/lib/tables.js index 7d41b57..d2a8a6d 100755 --- a/src/lib/tables.js +++ b/src/lib/tables.js @@ -302,12 +302,12 @@ export const TABLES = { endpoint: '/prompt-styles', statusField: null, primaryLabel: 'text_en', - columns: ['type', 'themenfeld_id', 'text_en'], - linkedFields: {}, + columns: ['type', 'kategorie_id', 'text_en'], + linkedFields: { kategorie_id: 'categories' }, editableFields: { - type: { type: 'select', options: ['fix', 'atmosphere', 'setting'] }, - themenfeld_id: { type: 'text' }, - text_en: { type: 'textarea' }, + type: { type: 'select', options: ['fix', 'atmosphere', 'setting'] }, + kategorie_id: { type: 'text' }, + text_en: { type: 'textarea' }, }, fetchRelated: [], },