diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js index 5f407e98..1c08f56a 100644 --- a/www/DataStoreContent.js +++ b/www/DataStoreContent.js @@ -232,8 +232,10 @@ Ext.define('PBS.DataStoreContent', { } return selected === id; }, undefined, true); - view.setSelection(selection); - view.getView().focusRow(selection); + if (selection) { + view.setSelection(selection); + view.getView().focusRow(selection); + } } Proxmox.Utils.setErrorMask(view, false);