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 }) => {
} = useSWR(
chatAPI.Endpoints.Dataset.PreviewWithTemplate(
datasetId,
encodeURI(template),
encodeURIComponent(template),
offset,
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