mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
f5a076e9a9
* dev: mobx for issues store * refactor: peek overview component * chore: update open issue button * fix: issue mutation after any crud action * chore: remove peek overview from gantt * chore: refactor code
24 lines
628 B
TypeScript
24 lines
628 B
TypeScript
// mobx lite
|
|
import { enableStaticRendering } from "mobx-react-lite";
|
|
// store imports
|
|
import UserStore from "./user";
|
|
import ThemeStore from "./theme";
|
|
import IssuesStore from "./issues";
|
|
import ProjectPublishStore, { IProjectPublishStore } from "./project-publish";
|
|
|
|
enableStaticRendering(typeof window === "undefined");
|
|
|
|
export class RootStore {
|
|
user;
|
|
theme;
|
|
projectPublish: IProjectPublishStore;
|
|
issues: IssuesStore;
|
|
|
|
constructor() {
|
|
this.user = new UserStore(this);
|
|
this.theme = new ThemeStore(this);
|
|
this.projectPublish = new ProjectPublishStore(this);
|
|
this.issues = new IssuesStore(this);
|
|
}
|
|
}
|