2 Commits

Author SHA1 Message Date
db95b12985 v1.1.0 2022-11-30 10:42:48 -03:00
8648f5a62e v1.0.0 2022-11-29 11:12:35 -03:00

View File

@ -221,13 +221,7 @@
},
messages: () => {
const uri = '/mailbox/{{$mailbox_id}}/messages/valid'
return Send.get(uri).then((response, status, jqXHR) => {
if (parseInt(jqXHR.status/100) !== 2) {
return
}
if (jqXHR.status === 204) {
this.draw().empty()
}
return Send.get(uri).then(response => {
if (this.total === null) {
$(this.id.count).html(' (' + response.total + ')')
this.total = response.total