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}>
|
<IonButton id='gpx-export-button' onClick={download}>
|
||||||
<IonIcon icon={cloudDownload} title='Export' slot='icon-only' />
|
<IonIcon icon={cloudDownload} title='Export' slot='icon-only' />
|
||||||
</IonButton>
|
</IonButton>
|
||||||
{isCapacitor && (
|
|
||||||
<a className='hidden' download={downloadName} ref={hiddenLinkElement}>
|
<a className='hidden' download={downloadName} ref={hiddenLinkElement}>
|
||||||
download
|
download
|
||||||
</a>
|
</a>
|
||||||
)}
|
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue