3
0
Fork 0

fix: add click handler support in simple grid table element

This commit is contained in:
Lance Edgar 2025-02-18 20:21:25 -06:00
parent 81fa500fb0
commit f0c0c1b487

View file

@ -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>