fix(GUI): Editor role - show context menu

re #532

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-09-15 17:05:53 +05:30
parent 6c5622cd4c
commit c6a6f3ab27

View File

@@ -1001,7 +1001,7 @@ export default {
this.loadingData = false
},
showRowContextMenu(e, row, rowMeta, index, colIndex, col) {
if (!this._isUIAllowed('table-grid-context-menu')) {
if (!this.isEditable) {
return
}
e.preventDefault()