HOTFIX: #6943 CustomerList form salesPersons options #790

Closed
jsegarra wants to merge 84 commits from hotfix_newCustomer_SalesPerson into master
1 changed files with 1 additions and 10 deletions
Showing only changes of commit e9c3b32b8a - Show all commits

View File

@ -319,15 +319,6 @@ function handleOnDataSaved(_) {
if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value });
else $props.create.onDataSaved(_);
}
function handleClick(event, btn, row) {
if (event.ctrlKey) {
event.preventDefault();
event.stopPropagation();
btn.action(row, event);
} else {
btn.action(row);
}
}
</script>
<template>
<QDrawer
@ -549,7 +540,7 @@ function handleClick(event, btn, row) {
:style="`visibility: ${
(btn.show && btn.show(row)) ?? true ? 'visible' : 'hidden'
}`"
@click="handleClick($event, btn, row)"
@click="btn.action(row)"
/>
</QTd>
</template>