add new option: open apps in new tab

This commit is contained in:
Simon Vieille 2020-09-11 13:03:37 +02:00
commit 9ae4d7ee48
Signed by untrusted user: deblan
GPG key ID: 03383D15A1D31745
5 changed files with 48 additions and 0 deletions

View file

@ -65,6 +65,14 @@ class PersonalSettingController extends Controller
}
}
if ('target-blank' === $name) {
$doSave = true;
if (!in_array($value, ['-1', '0', '1'])) {
$value = '-1';
}
}
if ('top-menu-apps' === $name) {
$doSave = true;
$data = json_decode($value, true);