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,12 +302,12 @@ export const TABLES = {
endpoint: '/prompt-styles', endpoint: '/prompt-styles',
statusField: null, statusField: null,
primaryLabel: 'text_en', primaryLabel: 'text_en',
columns: ['type', 'themenfeld_id', 'text_en'], columns: ['type', 'kategorie_id', 'text_en'],
linkedFields: {}, linkedFields: { kategorie_id: 'categories' },
editableFields: { editableFields: {
type: { type: 'select', options: ['fix', 'atmosphere', 'setting'] }, type: { type: 'select', options: ['fix', 'atmosphere', 'setting'] },
themenfeld_id: { type: 'text' }, kategorie_id: { type: 'text' },
text_en: { type: 'textarea' }, text_en: { type: 'textarea' },
}, },
fetchRelated: [], fetchRelated: [],
}, },