Explorar o código

Update UITaskbarItem.js

Nariman Jelveh hai 1 ano
pai
achega
48e97b5ec2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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('-');