Update UITaskbarItem.js

This commit is contained in:
Nariman Jelveh 2024-05-04 12:34:28 -07:00
parent a86106c0c1
commit 48e97b5ec2

View File

@ -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('-');