Regression for the GPX export when running in a browser.
This commit is contained in:
parent
d85f5d3f95
commit
52b03d8331
|
@ -101,11 +101,9 @@ const GpxExport: React.FC<{ gpx: any }> = (props: { gpx: any }) => {
|
|||
<IonButton id='gpx-export-button' onClick={download}>
|
||||
<IonIcon icon={cloudDownload} title='Export' slot='icon-only' />
|
||||
</IonButton>
|
||||
{isCapacitor && (
|
||||
<a className='hidden' download={downloadName} ref={hiddenLinkElement}>
|
||||
download
|
||||
</a>
|
||||
)}
|
||||
<a className='hidden' download={downloadName} ref={hiddenLinkElement}>
|
||||
download
|
||||
</a>
|
||||
</Fragment>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue