Browse Source

Put empty tabs in an array to prevent pushing errors.

pull/3202/head
TheGoddessInari 5 years ago
parent
commit
c56e25bde7
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 4
      app/ux/WebView.js

4
app/ux/WebView.js

@ -148,12 +148,12 @@ Ext.define('Hamsket.ux.WebView',{
enabled = enabled || me.record.get('enabled');
if ( !enabled ) {
cfg = {
cfg = [{
xtype: 'container'
,html: '<h3>Service Disabled</h3>'
,style: 'text-align:center;'
,padding: 100
};
}];
} else {
cfg = [{
xtype: 'component'

Loading…
Cancel
Save