From c56e25bde7550732d4ac99f2a00113a537914478 Mon Sep 17 00:00:00 2001 From: TheGoddessInari Date: Wed, 2 Sep 2020 09:18:16 -0700 Subject: [PATCH] Put empty tabs in an array to prevent pushing errors. --- app/ux/WebView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 0f3c5254..472065db 100644 --- a/app/ux/WebView.js +++ b/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: '

Service Disabled

' ,style: 'text-align:center;' ,padding: 100 - }; + }]; } else { cfg = [{ xtype: 'component'