File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
adminforth/documentation/docs/tutorial/03-Customization Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ Sometimes you might need to create a link that will open the create form with so
555555 resourceId: 'aparts',
556556 },
557557 query: {
558- values: encodeURIComponent (JSON.stringify({
558+ values: (JSON.stringify({
559559 realtor_id: coreStore?.adminUser.dbUser.id
560560 })),
561561 },
@@ -586,11 +586,11 @@ ALso if you want to disable ability to change such fields (but keep them as read
586586 resourceId: 'aparts',
587587 },
588588 query: {
589- values: encodeURIComponent (JSON.stringify({
589+ values: (JSON.stringify({
590590 realtor_id: coreStore?.adminUser.dbUser.id
591591 })),
592592 //diff-add
593- readonlyColumns: encodeURIComponent (JSON.stringify(['realtor_id'])),
593+ readonlyColumns: (JSON.stringify(['realtor_id'])),
594594 },
595595 }"
596596 >
You can’t perform that action at this time.
0 commit comments