forked from deblan/side_menu
fix cache and config key
This commit is contained in:
parent
aad3038003
commit
d9ea37ba62
|
@ -69,7 +69,7 @@ class Admin implements ISettings
|
|||
'current-app-background-color' => $this->config->getAppValue('side_menu', 'current-app-background-color', '#444444'),
|
||||
'loader-color' => $this->config->getAppValue('side_menu', 'loader-color', '#0e75ac'),
|
||||
'icon-invert-filter' => (int) $this->config->getAppValue('side_menu', 'icon-invert-filter', '0'),
|
||||
'icon-opacity' => (int) $this->config->getAppValue('side_menu', 'opacity', '100'),
|
||||
'icon-opacity' => (int) $this->config->getAppValue('side_menu', 'icon-opacity', '100'),
|
||||
'loader-enabled' => $this->config->getAppValue('side_menu', 'loader-enabled', '1'),
|
||||
'text-color' => $this->config->getAppValue('side_menu', 'text-color', '#FFFFFF'),
|
||||
'cache' => $this->config->getAppValue('side_menu', 'cache', '0'),
|
||||
|
|
|
@ -52,8 +52,8 @@ const saveSettings = (key) => {
|
|||
|
||||
const size = elements.length
|
||||
|
||||
if (element === 'side-menu-cache') {
|
||||
value++
|
||||
if (name === 'cache') {
|
||||
++value
|
||||
}
|
||||
|
||||
const callbacks = {
|
||||
|
|
Loading…
Reference in a new issue