[WEB-3794]chore: set project states to expand by default #6885
This commit is contained in:
parent
782b09eeaf
commit
27cec64c56
1 changed files with 7 additions and 1 deletions
|
|
@ -15,7 +15,13 @@ type TGroupList = {
|
|||
export const GroupList: FC<TGroupList> = observer((props) => {
|
||||
const { workspaceSlug, projectId, groupedStates } = props;
|
||||
// states
|
||||
const [groupsExpanded, setGroupsExpanded] = useState<Partial<TStateGroups>[]>([]);
|
||||
const [groupsExpanded, setGroupsExpanded] = useState<Partial<TStateGroups>[]>([
|
||||
"backlog",
|
||||
"unstarted",
|
||||
"started",
|
||||
"completed",
|
||||
"cancelled",
|
||||
]);
|
||||
|
||||
const handleGroupCollapse = (groupKey: TStateGroups) => {
|
||||
setGroupsExpanded((prev) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue