diff --git a/packages/theme/styles/components.scss b/packages/theme/styles/components.scss index 58404c1bcd..098d3f210e 100644 --- a/packages/theme/styles/components.scss +++ b/packages/theme/styles/components.scss @@ -287,6 +287,7 @@ .hulyAccordionItem-container { display: flex; flex-direction: column; + flex-shrink: 0; width: 100%; min-width: 0; min-height: 0; diff --git a/plugins/task-resources/src/index.ts b/plugins/task-resources/src/index.ts index 320cf606f7..126fe2693f 100644 --- a/plugins/task-resources/src/index.ts +++ b/plugins/task-resources/src/index.ts @@ -76,21 +76,10 @@ export * from './utils' export { StatePresenter, StateRefPresenter, TypeStatesPopup, TaskKindSelector } async function editStatuses (object: Project, ev: Event): Promise { - const client = getClient() - const descriptor = await client.findOne(task.class.ProjectTypeDescriptor, { attachedToClass: object._class }) const loc = getCurrentLocation() loc.path[2] = 'setting' - loc.path[3] = 'setting' - loc.path[4] = 'statuses' - loc.query = - descriptor != null - ? { - descriptorId: descriptor._id, - typeId: object.type - } - : { - typeId: object.type - } + loc.path[3] = 'statuses' + loc.path[4] = object.type navigate(loc) } diff --git a/plugins/tracker-resources/src/index.ts b/plugins/tracker-resources/src/index.ts index 2e04bccead..396796397e 100644 --- a/plugins/tracker-resources/src/index.ts +++ b/plugins/tracker-resources/src/index.ts @@ -216,12 +216,8 @@ async function move (issues: Issue | Issue[]): Promise { async function editWorkflowStatuses (project: Project): Promise { const loc = getCurrentLocation() loc.path[2] = settingId - loc.path[3] = settingId - loc.path[4] = 'statuses' - loc.query = { - descriptorId: tracker.descriptors.ProjectType, - typeId: project.type - } + loc.path[3] = 'statuses' + loc.path[4] = project.type navigate(loc) }