mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 17:38:31 +00:00
web/DownloadButton: fallback if status isn't supported
This commit is contained in:
parent
9b4f593f87
commit
f93f3cd558
@ -118,6 +118,14 @@
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
changeDownloadButton("error");
|
||||
restoreDownloadButton();
|
||||
|
||||
return createDialog({
|
||||
...defaultErrorPopup as DialogInfo,
|
||||
bodyText: "unknown/unsupported status"
|
||||
})
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user