I am using custom button to upload file, but the timer Uppy is displaying “NaNh NaNm” instead of the estimated time left.
window.InitializeUppy = function () {
const TUS_ENDPOINT = window.location.origin + '/files';
const uppyDashboard = new Uppy({
logger: debugLogger
})
.use(Dashboard, {
inline: true,
target: "#uppy",
showProgressDetails: true,
})
.use(DropTarget, {
target: document.body
})
.use(Tus, { endpoint: TUS_ENDPOINT, limit: 6 });
window.uppy = uppyDashboard;
}
window.UploadClicked = function () {
uppy = window.uppy;
uppy.upload();
}
Is there something missing in my custom upload function?