Skip to content

Commit

Permalink
fix(Felamimail/js): skip render editRecordAction if no top toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ccheng-dev committed Feb 21, 2024
1 parent fe0693e commit 5b19515
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tine20/Felamimail/js/GridDetailsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ Ext.ns('Tine.Felamimail');

Tine.Felamimail.GridDetailsPanel.superclass.initComponent.call(this);

this.editRecordAction.setText('');
this.editRecordAction.setIconClass('action_menu');
if (this.editRecordAction) {
this.editRecordAction.setText('');
this.editRecordAction.setIconClass('action_menu');
}
},

/**
Expand Down

0 comments on commit 5b19515

Please sign in to comment.