diff --git a/src/Utils.js b/src/Utils.js index c9c00a9..7b7a83a 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -100,6 +100,8 @@ utilities: { return value; }, + renderEnabledIcon: enabled => ``, + language_array: function() { let data = [['__default__', Proxmox.Utils.render_language('')]]; Ext.Object.each(Proxmox.Utils.language_map, function(key, value) { diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js index ce8f718..1fb627c 100644 --- a/src/node/APTRepositories.js +++ b/src/node/APTRepositories.js @@ -239,12 +239,10 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', { columns: [ { - xtype: 'checkcolumn', header: gettext('Enabled'), dataIndex: 'Enabled', - listeners: { - beforecheckchange: () => false, // veto, we don't want to allow inline change - to subtle - }, + align: 'center', + renderer: Proxmox.Utils.renderEnabledIcon, width: 90, }, {