Skip to content

Commit f22a81e

Browse files
committed
docs: update "create with presets" example
1 parent ef4688a commit f22a81e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adminforth/documentation/docs/tutorial/03-Customization/13-standardPagesTuning.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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: (JSON.stringify({
558+
values: atob_function(JSON.stringify({
559559
realtor_id: coreStore?.adminUser.dbUser.id
560560
})),
561561
},
@@ -569,6 +569,7 @@ Sometimes you might need to create a link that will open the create form with so
569569
<script setup lang="ts">
570570
import { LinkButton } from '@afcl';
571571
import { useCoreStore } from '@/stores/core';
572+
import { btoa_function } from '@/utils';
572573
573574
const coreStore = useCoreStore();
574575
</script>

0 commit comments

Comments
 (0)