Fix not changing document templates and colours for modules

This commit is contained in:
Burak Çakırel
2021-11-11 12:34:34 +00:00
parent 82ce036771
commit 048f64c749
3 changed files with 0 additions and 13 deletions

View File

@ -593,10 +593,6 @@ abstract class DocumentShow extends Base
return $template;
}
if (!empty($alias = config('type.' . $type . '.alias'))) {
$type = $alias . '.' . str_replace('-', '_', $type);
}
$documentTemplate = setting($this->getSettingKey($type, 'template')) ?: 'default';
return $documentTemplate;