瀏覽代碼

Update UITaskbarItem.js

Nariman Jelveh 1 年之前
父節點
當前提交
48e97b5ec2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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('-');