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'); enabled = enabled || me.record.get('enabled');
if ( !enabled ) { if ( !enabled ) {
cfg = { cfg = [{
xtype: 'container' xtype: 'container'
,html: '<h3>Service Disabled</h3>' ,html: '<h3>Service Disabled</h3>'
,style: 'text-align:center;' ,style: 'text-align:center;'
,padding: 100 ,padding: 100
}; }];
} else { } else {
cfg = [{ cfg = [{
xtype: 'component' xtype: 'component'

Loading…
Cancel
Save