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

@ -261,11 +261,6 @@ abstract class DocumentTemplate extends Base
return $background_color;
}
if (!empty($alias = config('type.' . $type . '.alias'))) {
$type = $alias . '.' . str_replace('-', '_', $type);
}
$backgroundColor = setting($this->getSettingKey($type, 'color'), '#55588b');
return $backgroundColor;