mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-13 05:37:44 +02: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