Skip to content

Commit 4d1e6ed

Browse files
committed
chore: update dev-demo
1 parent 2847309 commit 4d1e6ed

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

dev-demo/resources/users.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ export default {
6868
// resourceConfig.options!.listPageSize = 3;
6969
// },
7070
// }),
71-
// new ForeignInlineListPlugin({
72-
// foreignResourceId: "audit_log",
73-
// }),
7471
new ForeignInlineListPlugin({
75-
foreignResourceId: "users",
72+
foreignResourceId: "audit_log",
7673
}),
74+
// new ForeignInlineListPlugin({
75+
// foreignResourceId: "users",
76+
// }),
7777
new TwoFactorsAuthPlugin({
7878
twoFaSecretFieldName: "secret2fa",
7979
timeStepWindow: 1, // optional time step window for 2FA
@@ -279,9 +279,6 @@ export default {
279279
enforceLowerCase: true,
280280
type: AdminForthDataTypes.STRING,
281281
validation: [AdminForth.Utils.EMAIL_VALIDATOR],
282-
foreignResource: {
283-
resourceId: "audit_log",
284-
}
285282
},
286283
{
287284
name: "created_at",

0 commit comments

Comments
 (0)