mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Drop ko.extenders.limitedList
This commit is contained in:
parent
deeb86bd5f
commit
d1d820da73
8 changed files with 14 additions and 77 deletions
|
|
@ -4,6 +4,7 @@ import { isArray } from 'Common/Utils';
|
|||
import { serverRequestRaw } from 'Common/Links';
|
||||
|
||||
export const ThemeStore = {
|
||||
theme: ko.observable(''),
|
||||
themes: ko.observableArray(),
|
||||
userBackgroundName: ko.observable(''),
|
||||
userBackgroundHash: ko.observable(''),
|
||||
|
|
@ -23,8 +24,6 @@ export const ThemeStore = {
|
|||
}
|
||||
};
|
||||
|
||||
ThemeStore.theme = ko.observable('').extend({ limitedList: ThemeStore.themes });
|
||||
|
||||
ThemeStore.isMobile.subscribe(value => $htmlCL.toggle('rl-mobile', value));
|
||||
|
||||
ThemeStore.userBackgroundHash.subscribe(value => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue