add option to keep an app in the top and side menu

This commit is contained in:
Simon Vieille 2022-01-12 12:40:17 +01:00
commit d34b41ba94
13 changed files with 198 additions and 97 deletions

View file

@ -97,7 +97,7 @@ class PersonalSettingController extends Controller
}
}
if ('top-menu-apps' === $name) {
if (in_array($name, ['top-menu-apps', 'top-side-menu-apps'])) {
$doSave = true;
$data = json_decode($value, true);