Skip to content

Commit

Permalink
search in readonly mode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Firetawnyowl authored and nekufa committed Dec 26, 2023
1 parent 60beea2 commit 0ad21f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/admin/js/Space/Collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Ext.define('Admin.Space.Collection', {
this.down('[text=Create]').hide();
this.down('[text=Update]').hide();
this.down('[text=Delete]').hide();
this.down('[text=Truncate]').hide();
this.down('[name=truncate]').hide();
}
},
columnresize(table, column, width) {
Expand Down
1 change: 1 addition & 0 deletions public/admin/js/Space/toolbar/Collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ Ext.define('Admin.Space.toolbar.Collection', {
menu: [],
}, {
text: this.params.truncateButtonText || 'Truncate',
name: 'truncate',
iconCls: 'fa fa-trash',
handler() {
var params = this.up('grid').store.proxy.params;
Expand Down

0 comments on commit 0ad21f0

Please sign in to comment.