chg: [singleView:single_view] Usage of name instead of namespace for meta-templates

pull/37/head
mokaddem 2020-12-08 09:25:16 +01:00
parent 27964f72c6
commit ff1f8bfc97
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
'content' => []
];
foreach($data['metaTemplates'] as $metaTemplate) {
$tabData['navs'][] = $metaTemplate->namespace;
$tabData['navs'][] = $metaTemplate->name;
$fieldsHtml = '<table class="table table-striped">';
foreach ($metaTemplate->meta_template_fields as $metaTemplateField) {
$metaField = $metaTemplateField->meta_fields[0];