mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
[WEB-3150] fix: initiative link and project properties (#2215)
* fix: project properties validation updated * fix: initiative link update endpoint
This commit is contained in:
committed by
GitHub
parent
451e5e3a81
commit
c2b70b1d34
@@ -71,7 +71,7 @@ export const ProjectItem = observer((props: Props) => {
|
||||
state: isProjectGroupingEnabled,
|
||||
priority: isProjectGroupingEnabled,
|
||||
lead: true,
|
||||
date: true,
|
||||
date: isProjectGroupingEnabled,
|
||||
}}
|
||||
/>
|
||||
<div className={cn("hidden md:flex")}>
|
||||
|
||||
@@ -125,7 +125,7 @@ export class InitiativeService extends APIService {
|
||||
linkId: string,
|
||||
payload: Partial<TInitiativeLink>
|
||||
): Promise<void> {
|
||||
return this.post(`/api/workspaces/${workspaceSlug}/initiatives/${initiativeId}/links/${linkId}`, payload)
|
||||
return this.patch(`/api/workspaces/${workspaceSlug}/initiatives/${initiativeId}/links/${linkId}`, payload)
|
||||
.then((res) => res?.data)
|
||||
.catch((err) => {
|
||||
throw err?.response?.data;
|
||||
|
||||
Reference in New Issue
Block a user