chore: app group optimizations (#1027)
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
import { ApplicationEvent } from '@standardnotes/snjs'
|
||||
import { makeObservable, observable, action, runInAction } from 'mobx'
|
||||
import { WebApplication } from '../Application'
|
||||
import { AbstractState } from './AbstractState'
|
||||
|
||||
export class SearchOptionsState {
|
||||
export class SearchOptionsState extends AbstractState {
|
||||
includeProtectedContents = false
|
||||
includeArchived = false
|
||||
includeTrashed = false
|
||||
|
||||
constructor(private application: WebApplication, appObservers: (() => void)[]) {
|
||||
constructor(application: WebApplication, appObservers: (() => void)[]) {
|
||||
super(application)
|
||||
|
||||
makeObservable(this, {
|
||||
includeProtectedContents: observable,
|
||||
includeTrashed: observable,
|
||||
|
||||
Reference in New Issue
Block a user