chore: delete label confirmation modal (#1069)
* fix: negative days displayed on upcoming issues on dashboard * chore: show completed and cancelled states by default * chore: delete label confirmation modal
This commit is contained in:
parent
27626fb16f
commit
d41250c1ce
8 changed files with 157 additions and 29 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { useState, useEffect } from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
import { useRouter } from "next/router";
|
||||
|
||||
|
|
@ -60,11 +60,6 @@ export const SingleBoard: React.FC<Props> = ({
|
|||
|
||||
const isNotAllowed = userAuth.isGuest || userAuth.isViewer || isCompleted;
|
||||
|
||||
useEffect(() => {
|
||||
if (currentState?.group === "completed" || currentState?.group === "cancelled")
|
||||
setIsCollapsed(false);
|
||||
}, [currentState]);
|
||||
|
||||
return (
|
||||
<div className={`flex-shrink-0 ${!isCollapsed ? "" : "flex h-full flex-col w-96"}`}>
|
||||
<BoardHeader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue