fix: infinite toast error

This commit is contained in:
Timothy J. Baek committed 2023-11-22 12:54:48 -08:00
1 parent ebddb8e47d
commit 2558997cc5
2 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@
throw data.detail;
}
if (data.status) {
if (!data.status.includes('downloading')) {
if (!data.digest) {
toast.success(data.status);
} else {
digest = data.digest;