diff --git a/src/app/components/previews/DialogPreview.tsx b/src/app/components/previews/DialogPreview.tsx index 4bff9e21..3f6aeb90 100644 --- a/src/app/components/previews/DialogPreview.tsx +++ b/src/app/components/previews/DialogPreview.tsx @@ -91,7 +91,11 @@ function DialogContent({ dialog }: { dialog: any }) { if (Array.isArray(dialog.dialogs)) { dialogs = dialog.dialogs } else if (typeof dialog.dialogs === 'string') { - dialogs = [dialog.dialogs] + if (dialog.dialogs.startsWith('#')) { + dialogs = ['dialog_1', 'dialog_2', 'dialog_3'] + } else { + dialogs = [dialog.dialogs] + } } return {dialogs.map((d: any) => { @@ -121,6 +125,15 @@ function DialogContent({ dialog }: { dialog: any }) { } + if (type === 'server_links') { + const links = ['Server link 1', 'Server link 2', 'Server link 3'] + return + {links.map((text: string) => { + return