refactor timeline store for code splitting (#5926)
This commit is contained in:
parent
b4bbe3a8ba
commit
538e78f135
13 changed files with 56 additions and 50 deletions
|
|
@ -10,10 +10,10 @@ import { computedFn } from "mobx-utils";
|
|||
import { TIssueActivityComment, TIssueActivity, TIssueActivityMap, TIssueActivityIdMap } from "@plane/types";
|
||||
// plane web constants
|
||||
import { EActivityFilterType } from "@/plane-web/constants/issues";
|
||||
// plane web store types
|
||||
import { RootStore } from "@/plane-web/store/root.store";
|
||||
// services
|
||||
import { IssueActivityService } from "@/services/issue";
|
||||
// store
|
||||
import { CoreRootStore } from "@/store/root.store";
|
||||
|
||||
export type TActivityLoader = "fetch" | "mutate" | undefined;
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ export class IssueActivityStore implements IIssueActivityStore {
|
|||
// services
|
||||
issueActivityService;
|
||||
|
||||
constructor(protected store: RootStore) {
|
||||
constructor(protected store: CoreRootStore) {
|
||||
makeObservable(this, {
|
||||
// observables
|
||||
loader: observable.ref,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue