fix(plugin-workflow): fix data scope on todo table block (#2176)
This commit is contained in:
parent
ef54fb0dd0
commit
650a580aca
@ -580,7 +580,7 @@ function Drawer() {
|
||||
);
|
||||
}
|
||||
|
||||
function Decorator({ children }) {
|
||||
function Decorator({ params = {}, children }) {
|
||||
const { collections, ...cm } = useCollectionManager();
|
||||
const blockProps = {
|
||||
collection: 'users_jobs',
|
||||
@ -589,6 +589,7 @@ function Decorator({ children }) {
|
||||
params: {
|
||||
pageSize: 20,
|
||||
sort: ['-createdAt'],
|
||||
...params,
|
||||
appends: ['user', 'node', 'workflow'],
|
||||
except: ['node.config', 'workflow.config'],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user