fix: add click handler support in simple grid table element
This commit is contained in:
parent
81fa500fb0
commit
f0c0c1b487
|
@ -25,6 +25,9 @@
|
|||
% for action in grid.actions:
|
||||
<a v-if="props.row._action_url_${action.key}"
|
||||
:href="props.row._action_url_${action.key}"
|
||||
% if action.click_handler:
|
||||
@click.prevent="${action.click_handler}"
|
||||
% endif
|
||||
class="${action.link_class}">
|
||||
${action.render_icon_and_label()}
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue