Skip to content
Snippets Groups Projects
Commit cf44bb26 authored by ali asaria's avatar ali asaria
Browse files

Handle hashtags and characters in templates

Fixes #171
parent 6e83e439
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ const DatasetTableWithTemplate = ({ datasetId, template }) => { ...@@ -38,7 +38,7 @@ const DatasetTableWithTemplate = ({ datasetId, template }) => {
} = useSWR( } = useSWR(
chatAPI.Endpoints.Dataset.PreviewWithTemplate( chatAPI.Endpoints.Dataset.PreviewWithTemplate(
datasetId, datasetId,
encodeURI(template), encodeURIComponent(template),
offset, offset,
pageSize pageSize
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment