gui: fix debug-mode error

setData on an 'empty' store does not work in extjs debug mode
setting store to '{}' here does create a store on component creation
so the store is not 'empty'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2019-07-15 14:03:45 +02:00 committed by Thomas Lamprecht
parent b4cb37e057
commit 3098f188b3

View File

@ -10,6 +10,7 @@ Ext.define('PVE.window.IPInfo', {
items: [
{
xtype: 'grid',
store: {},
emptyText: gettext('No network information'),
columns: [
{