Merge branch 'develop' into feature/multiple-selection
This commit is contained in:
@@ -2,12 +2,16 @@ import { action, makeObservable, observable } from "mobx";
|
||||
|
||||
export class AccountMenuState {
|
||||
show = false;
|
||||
signingOut = false;
|
||||
|
||||
constructor() {
|
||||
makeObservable(this, {
|
||||
show: observable,
|
||||
signingOut: observable,
|
||||
|
||||
setShow: action,
|
||||
toggleShow: action,
|
||||
setSigningOut: action,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -15,6 +19,10 @@ export class AccountMenuState {
|
||||
this.show = show;
|
||||
}
|
||||
|
||||
setSigningOut = (signingOut: boolean): void => {
|
||||
this.signingOut = signingOut;
|
||||
}
|
||||
|
||||
toggleShow = (): void => {
|
||||
this.show = !this.show;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import { WebApplication } from "../application";
|
||||
|
||||
export class SearchOptionsState {
|
||||
includeProtectedContents = false;
|
||||
includeArchived = false;
|
||||
includeArchived = true;
|
||||
includeTrashed = false;
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user