Fix error on sort menu

This commit is contained in:
Chen-I Lim 2020-10-13 22:24:54 -07:00
parent 6b684a6eb7
commit 6dc73a83b1

View file

@ -199,7 +199,7 @@ class OctoUtils {
return { return {
id: o.id, id: o.id,
name: o.name, name: o.name,
icon: (sortOption.propertyId === o.id) ? sortOption.reversed ? "sortUp" : "sortDown" : undefined icon: (sortOption?.propertyId === o.id) ? sortOption.reversed ? "sortUp" : "sortDown" : undefined
} }
}) })
Menu.shared.onMenuClicked = async (propertyId: string) => { Menu.shared.onMenuClicked = async (propertyId: string) => {