@@ -30,7 +30,22 @@ function render(
|
||||
component: 'test',
|
||||
url: '/teste',
|
||||
version: null,
|
||||
props: { errors: {}, ...props },
|
||||
props: {
|
||||
errors: {},
|
||||
auth: {
|
||||
user: {
|
||||
id: 12,
|
||||
tenant_id: 4,
|
||||
name: 'Synthetic banking reader',
|
||||
},
|
||||
},
|
||||
workContext: { active: 'procurement.internal' },
|
||||
organizationAccess: {
|
||||
active: true,
|
||||
permissions: props.canManage ? ['finance'] : ['admin'],
|
||||
},
|
||||
...props,
|
||||
},
|
||||
clearHistory: false,
|
||||
encryptHistory: true,
|
||||
} satisfies Page;
|
||||
|
||||
Reference in New Issue
Block a user