mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
MessageView: Be resilient to multiple renders of a network error
FREEBIE
This commit is contained in:
@@ -237,10 +237,9 @@
|
||||
} else {
|
||||
this.$('.error-icon-container').remove();
|
||||
}
|
||||
this.$('.meta .hasRetry').remove();
|
||||
if (this.model.hasNetworkError()) {
|
||||
this.$('.meta').prepend(new NetworkErrorView().render().el);
|
||||
} else {
|
||||
this.$('.meta .hasRetry').remove();
|
||||
}
|
||||
},
|
||||
renderControl: function() {
|
||||
|
||||
Reference in New Issue
Block a user