Refactor Template Processing and Update Setting Model: Enhanced the ImportHtmlTemplates command to improve header processing with dynamic logo handling based on navbar type. Updated the Setting model to include new accessors for various field types, ensuring better data retrieval. Adjusted the SettingSeeder to clear logo paths for better management.
This commit is contained in:
@@ -587,7 +587,7 @@ class SettingSeeder extends Seeder
|
||||
],
|
||||
[
|
||||
'key' => 'logo_light',
|
||||
'value' => 'assets/img/logo-light.png',
|
||||
'value' => '',
|
||||
'type' => 'file',
|
||||
'group' => 'theme',
|
||||
'label' => 'Light Logo',
|
||||
@@ -597,7 +597,7 @@ class SettingSeeder extends Seeder
|
||||
],
|
||||
[
|
||||
'key' => 'logo_dark',
|
||||
'value' => 'assets/img/logo-dark.png',
|
||||
'value' => '',
|
||||
'type' => 'file',
|
||||
'group' => 'theme',
|
||||
'label' => 'Dark Logo',
|
||||
|
||||
Reference in New Issue
Block a user