Skip to content

Commit 649e042

Browse files
committed
fix(settings): Fix reset button for legal and privacy
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 7c64394 commit 649e042

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/theming/lib/Controller/ThemingController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ public function undo(string $setting): DataResponse {
308308
$setting = match ($setting) {
309309
'primaryColor' => 'primary_color',
310310
'backgroundColor' => 'background_color',
311+
'legalNoticeUrl' => 'imprintUrl',
312+
'privacyPolicyUrl' => 'privacyUrl',
311313
default => $setting,
312314
};
313315
$value = $this->themingDefaults->undo($setting);

0 commit comments

Comments
 (0)