Skip to content

Commit 03d9c59

Browse files
fix(js): also force enable clear bin by name
fix #173
1 parent b1eca10 commit 03d9c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shell/script/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ shell.menu_controller.add_menu_listener(ctx => {
785785
// fixtures
786786
for (const items of ctx.menu.get_items()) {
787787
const data = items.data()
788-
if (data.name_resid === '[email protected]' /* 清空回收站 */) {
788+
if (data.name_resid === '[email protected]' /* 清空回收站 */ || data.name === '清空回收站') {
789789
items.set_data({
790790
disabled: false
791791
})

0 commit comments

Comments
 (0)