fix: Fixed issue where right-clicking system view would open "Edit smart view" modal
This commit is contained in:
@@ -102,6 +102,9 @@ const SmartViewsListItem: FunctionComponent<Props> = ({ view, tagsState, setEdit
|
||||
onContextMenu={(event) => {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
if (isSystemView(view)) {
|
||||
return
|
||||
}
|
||||
onClickEdit()
|
||||
}}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user