fix(desktop_icon): remove unecessary check on trash

This commit is contained in:
sokumon 2026-01-14 14:48:40 +05:30
parent 2716888499
commit c174de4ade

View file

@ -46,7 +46,6 @@ class DesktopIcon(Document):
def on_trash(self):
clear_desktop_icons_cache()
self.check_for_restrict_removal()
if frappe.conf.developer_mode and self.standard and self.app:
self.delete_desktop_icon_file()