Skip to content

Commit 87b556d

Browse files
committed
Merge discvr-20.3 to develop
2 parents 0f7bd7c + c786b6b commit 87b556d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

laboratory/resources/web/laboratory/panel/WorkbookHeaderPanel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ Ext4.define('Laboratory.panel.WorkbookHeaderPanel', {
8686
scope: this,
8787
handler: function(btn){
8888
Ext4.Msg.confirm('Remove Tag', 'Do you want to remove this tag?', function(val){
89-
if (val == 'yes'){
90-
this.tags.remove(btn.tag);
89+
if (val === 'yes'){
90+
Ext4.Array.remove(this.tags, btn.tag);
9191
btn.destroy();
9292
this.onUpdate();
9393
}

0 commit comments

Comments
 (0)