ui: tape/ChangerStatus: fixup for conditional
the statement !a === "somestring" cannot be true since !a is either true or false and thus not a string Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
6d62e69f9a
commit
f26276bc4e
|
@ -518,7 +518,7 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
|
|||
control: {
|
||||
'grid[reference=drives]': {
|
||||
cellclick: function(table, td, ci, rec, tr, ri, e) {
|
||||
if (!e.position.column.dataIndex === 'state') {
|
||||
if (e.position.column.dataIndex !== 'state') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue