feat: only show active only when select flow
This commit is contained in:
parent
2debf3b6e9
commit
79d132f49e
2 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ const { getOptions, setFirstValue, getSelectedOption, filter } =
|
|||
const ret = await getList({
|
||||
query,
|
||||
...props.params,
|
||||
activeOnly: true,
|
||||
});
|
||||
if (ret) return ret.result;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ export const useWorkflowTemplate = defineStore('workflow-store', () => {
|
|||
pageSize?: number;
|
||||
query?: string;
|
||||
status?: Status;
|
||||
activeOnly?: boolean;
|
||||
}) {
|
||||
const res = await api.get<PaginationResult<WorkflowTemplate>>(
|
||||
'/workflow-template',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue