forked from deblan/side_menu
add new option: open apps in new tab
This commit is contained in:
parent
624bb52ec4
commit
9ae4d7ee48
5 changed files with 48 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue