fix: issues mutation on changing filters (#2485)
* chore: refetch issues on filters and display filters change * fix: issues list mutation after creating an issue * fix: module issues fetch * fix: build error
This commit is contained in:
parent
85a471305a
commit
0b8367a262
16 changed files with 173 additions and 181 deletions
|
|
@ -13,7 +13,7 @@ export class IssueService extends APIService {
|
|||
super(API_BASE_URL);
|
||||
}
|
||||
|
||||
async createIssues(workspaceSlug: string, projectId: string, data: any, user: IUser | undefined): Promise<any> {
|
||||
async createIssue(workspaceSlug: string, projectId: string, data: any, user: IUser | undefined): Promise<any> {
|
||||
return this.post(`/api/workspaces/${workspaceSlug}/projects/${projectId}/issues/`, data)
|
||||
.then((response) => {
|
||||
trackEventService.trackIssueEvent(response.data, "ISSUE_CREATE", user as IUser);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue