fix: prompt-styles kategorie_id als linkedField zu categories

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tim Leikauf
2026-06-20 21:15:34 +02:00
parent f5c7fbcd57
commit e71e7c1b96

View File

@@ -302,11 +302,11 @@ 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' },
kategorie_id: { type: 'text' },
text_en: { type: 'textarea' },
},
fetchRelated: [],