mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-13 11:57:50 +01:00
* [ADD] New preferences option to always display the account search filters
* [MOD] Updated translations * [MOD] Code refactoring Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -75,6 +75,10 @@ class UserPreferencesData
|
||||
* @var bool
|
||||
*/
|
||||
public $checkNotifications = true;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $showAccountSearchFilters = false;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
@@ -258,4 +262,20 @@ class UserPreferencesData
|
||||
{
|
||||
$this->checkNotifications = $checkNotifications;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isShowAccountSearchFilters(): bool
|
||||
{
|
||||
return $this->showAccountSearchFilters;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $showAccountSearchFilters
|
||||
*/
|
||||
public function setShowAccountSearchFilters(bool $showAccountSearchFilters)
|
||||
{
|
||||
$this->showAccountSearchFilters = $showAccountSearchFilters;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user