refactor: cycles store (#2716)
* refactor: cycles store * refactor: active cycle details
This commit is contained in:
parent
162faf8339
commit
884b219508
20 changed files with 200 additions and 285 deletions
|
|
@ -50,7 +50,7 @@ export const CycleCreateUpdateModal: React.FC<CycleModalProps> = (props) => {
|
|||
|
||||
const updateCycle = async (cycleId: string, payload: Partial<ICycle>) =>
|
||||
cycleStore
|
||||
.updateCycle(workspaceSlug, projectId, cycleId, payload)
|
||||
.patchCycle(workspaceSlug, projectId, cycleId, payload)
|
||||
.then(() => {
|
||||
setToastAlert({
|
||||
type: "success",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue