Commit a2ca7c4 1 parent abd33ef commit a2ca7c4 Copy full SHA for a2ca7c4
File tree 1 file changed +4
-2
lines changed
src/components/VideoExplorer/Home
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -212,16 +212,18 @@ class MainView extends React.Component {
212
212
< p >
213
213
< a
214
214
href = { `${ selectedVideo . path } ${ selectedFrame . jsonFile } ` }
215
+ download = { `${ selectedVideo . name } _{selectedFrame.jsonFile}` }
215
216
className = "badge badge-secondary"
216
217
>
217
- < i className = "fas fa-download" /> { selectedFrame . jsonFile }
218
+ < i className = "fas fa-download" /> JSON
218
219
</ a >
219
220
220
221
< a
221
222
href = { `${ selectedVideo . path } ${ selectedFrame . jsonFile . replace ( '.json' , '.png' ) } ` }
223
+ download = { `${ selectedVideo . name } _{selectedFrame.jsonFile.replace('.json', '.png')}` }
222
224
className = "badge badge-secondary"
223
225
>
224
- < i className = "fas fa-download" /> frame { String ( selectedFrame . index ) . padStart ( 8 , '0' ) } .png
226
+ < i className = "fas fa-download" /> Image
225
227
</ a >
226
228
</ p >
227
229
< SyntaxHighlighter
You can’t perform that action at this time.
0 commit comments