work in progess, calc tabs title suffix when component is not rendered

This commit is contained in:
Harald Bamberger
2025-08-13 10:38:30 +02:00
parent 2402693116
commit 50b2334e5c
3 changed files with 24 additions and 4 deletions
@@ -68,7 +68,8 @@ class Config extends FHCAPI_Controller
'title' => $this->p->t('stv', 'tab_notes'),
'component' => './Stv/Studentenverwaltung/Details/Notizen.js',
'config' => $config['notes'],
'showSuffix' => $showSuffix && ($config['notes']['showCountNotes'] ?? false)
'showSuffix' => $showSuffix && ($config['notes']['showCountNotes'] ?? false),
'suffixhelper' => APP_ROOT . 'public/js/components/Stv/Studentenverwaltung/Details/Notizen/NotizenSuffixHelper.js'
];
$result['contact'] = [