mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-25 14:39:37 -06:00
Update UITaskbarItem.js
This commit is contained in:
@@ -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('-');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user