mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
ce4ca35fd9
@ -187,7 +187,7 @@ export function WorkflowTasks() {
|
||||
const params = useActionParams(status);
|
||||
|
||||
useEffect(() => {
|
||||
setTitle?.(`${lang('Workflow todo')}${title ? `: ${compile(title)}` : ''}`);
|
||||
setTitle?.(`${lang('Workflow todos')}${title ? `: ${compile(title)}` : ''}`);
|
||||
}, [taskType, status, setTitle, title, compile]);
|
||||
|
||||
useEffect(() => {
|
||||
|
@ -774,6 +774,7 @@ export default class PluginWorkflowServer extends Plugin {
|
||||
(await repository.countAll({
|
||||
where: {
|
||||
userId: task.userId,
|
||||
workflowId: { [Op.ne]: null },
|
||||
},
|
||||
transaction,
|
||||
})) || [];
|
||||
|
@ -18,6 +18,7 @@ export async function countMine(context: Context, next) {
|
||||
(await repository.countAll({
|
||||
where: {
|
||||
userId: context.state.currentUser.id,
|
||||
workflowId: { [Op.ne]: null },
|
||||
},
|
||||
})) || [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user