fix: Fixed issue where right-clicking system view would open "Edit smart view" modal

This commit is contained in:
Aman Harwara
2022-12-26 18:07:53 +05:30
parent 14a98b5736
commit 044a4fc36b

View File

@@ -102,6 +102,9 @@ const SmartViewsListItem: FunctionComponent<Props> = ({ view, tagsState, setEdit
onContextMenu={(event) => {
event.preventDefault()
event.stopPropagation()
if (isSystemView(view)) {
return
}
onClickEdit()
}}
style={{