mirror of
https://github.com/Physton/sd-webui-prompt-all-in-one.git
synced 2026-04-30 11:11:47 +00:00
bug fix
Fix the bug of continuous loading when clicking on the "Translate All" button without keywords. Former-commit-id: 3bb5b14fc8d2a27e31fcbdbcd929dc0d34691a10
This commit is contained in:
@@ -1 +1 @@
|
||||
d91984c937a25e28ca1a52c051c1441ebf8e41b9
|
||||
f4d27c404adeaea3a82c9a9293290a51149ddf2a
|
||||
@@ -1 +1 @@
|
||||
0fd2193b3305d57f431b18fbd6aff80457ff1a78
|
||||
0d60817c2560b7509832d02d81644af87892f8d7
|
||||
@@ -641,6 +641,7 @@ export default {
|
||||
})
|
||||
},
|
||||
onTranslatesToLocalClick() {
|
||||
if (this.tags.length === 0) return
|
||||
if (this.loading['all_local']) return
|
||||
this.loading['all_local'] = true
|
||||
let tagIndexes = []
|
||||
@@ -675,6 +676,7 @@ export default {
|
||||
})
|
||||
},
|
||||
onTranslatesToEnglishClick() {
|
||||
if (this.tags.length === 0) return
|
||||
if (this.loading['all_en']) return
|
||||
this.loading['all_en'] = true
|
||||
let tagIndexes = []
|
||||
|
||||
Reference in New Issue
Block a user