N°4110 - Fix JS error message when no provider for the newsroom

This commit is contained in:
Molkobain
2021-06-29 10:03:49 +02:00
parent 9d006c279b
commit 0cffd567c2

View File

@@ -87,7 +87,10 @@ $(function()
_load: function()
{
var me = this;
setTimeout(function() { me._getAllMessages(); }, 1000);
if(this.options.providers.length > 0) {
setTimeout(function() { me._getAllMessages(); }, 1000);
}
},
_getAllMessages: function()
{