Fixed the snackbar

This commit is contained in:
n1474335 2022-12-09 20:46:01 +00:00
parent 771a013c9f
commit ff45f61b68
5 changed files with 14 additions and 4 deletions

View file

@ -1274,7 +1274,7 @@ class OutputWaiter {
* Handler for copy click events.
* Copies the output to the clipboard
*/
async copyClick() { // TODO - do we need this?
async copyClick() {
const dish = this.getOutputDish(this.manager.tabs.getActiveTab("output"));
if (dish === null) {
this.app.alert("Could not find data to copy. Has this output been baked yet?", 3000);