Browse Source

Update UITaskbarItem.js

Nariman Jelveh 1 năm trước cách đây
mục cha
commit
48e97b5ec2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/UI/UITaskbarItem.js

+ 1 - 1
src/UI/UITaskbarItem.js

@@ -148,7 +148,7 @@ function UITaskbarItem(options){
         //------------------------------------------
         // Empty Trash
         //------------------------------------------
-        if(options.app === 'trash' && options.name === 'Trash'){
+        if(options.app && options.app === 'trash'){
             // divider
             menu_items.push('-');