[Uploads] Show the unload warning if any tags are filled in (#740)

This commit is contained in:
Cinder 2024-08-28 09:27:26 -07:00 committed by GitHub
parent 46a89a1ddb
commit a977c4ed47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,7 @@
}
function unloadWarning() {
if (this.allowNavigate || this.uploadValue === "") {
if (this.allowNavigate || (this.uploadValue === "" && this.tags === "")) {
return;
}
return true;