Fix config quickstart and download [ci skip]

This commit is contained in:
Ines Montani 2021-02-01 21:44:55 +11:00
parent 3b9ecd25d8
commit e17ea88e54
2 changed files with 4 additions and 2 deletions

View File

@ -248,7 +248,9 @@ const Quickstart = ({
)} )}
{download && ( {download && (
<a <a
href={`data:application/octet-stream,${getRawContent(contentRef)}`} href={`data:application/octet-stream,${encodeURIComponent(
getRawContent(contentRef)
)}`}
title="Download file" title="Download file"
download={download} download={download}
className={classes.iconButton} className={classes.iconButton}

View File

@ -90,7 +90,7 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
id="quickstart-widget" id="quickstart-widget"
Container="div" Container="div"
download={download} download={download}
rawContent={content} rawContent={rawContent}
data={DATA} data={DATA}
title={title} title={title}
id={id} id={id}