mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
[WEB-3794]chore: set project states to expand by default #6885
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user