Browse Source

Update UITaskbarItem.js

Nariman Jelveh 1 year ago
parent
commit
48e97b5ec2
1 changed files with 1 additions and 1 deletions
  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('-');