mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-13 19:55:20 +00:00
web/DownloadButton: fallback if status isn't supported
This commit is contained in:
@@ -118,6 +118,14 @@
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
changeDownloadButton("error");
|
||||
restoreDownloadButton();
|
||||
|
||||
return createDialog({
|
||||
...defaultErrorPopup as DialogInfo,
|
||||
bodyText: "unknown/unsupported status"
|
||||
})
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user