[WEB-584] fix: draft issue management with workspace specific local storage (#3822)
* fix: draft issue local storage state manahement in workspace level * chore: removed consoles
This commit is contained in:
parent
002b2505f3
commit
ec43c8e634
9 changed files with 37 additions and 1178 deletions
|
|
@ -30,7 +30,6 @@ export const SpreadsheetCycleColumn: React.FC<Props> = observer((props) => {
|
|||
|
||||
const handleCycle = useCallback(
|
||||
async (cycleId: string | null) => {
|
||||
console.log("cycleId", cycleId);
|
||||
if (!workspaceSlug || !issue || issue.cycle_id === cycleId) return;
|
||||
if (cycleId) await addIssueToCycle(workspaceSlug.toString(), issue.project_id, cycleId, [issue.id]);
|
||||
else await removeIssueFromCycle(workspaceSlug.toString(), issue.project_id, issue.cycle_id ?? "", issue.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue