[WEB-3794]chore: set project states to expand by default #6885

This commit is contained in:
Vamsi Krishna
2025-04-08 14:38:08 +05:30
committed by GitHub
parent 782b09eeaf
commit 27cec64c56

View File

@@ -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) => {