From 2ea0d648b882971e042a98c02148b05909f49447 Mon Sep 17 00:00:00 2001 From: DrumsnChocolate Date: Sun, 3 Nov 2024 21:36:59 +0100 Subject: [PATCH] action helper in public-activity-card-small --- app/components/cards/public-activity-card-small.hbs | 2 +- app/components/public/index/activities.hbs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/cards/public-activity-card-small.hbs b/app/components/cards/public-activity-card-small.hbs index 51e484ea7..19af7576f 100644 --- a/app/components/cards/public-activity-card-small.hbs +++ b/app/components/cards/public-activity-card-small.hbs @@ -2,7 +2,7 @@ itemscope itemtype='https://schema.org/Event' class='card-body p-0' - {{action action}} + {{on 'click' @action}} >
{{#each activityPair as |activity|}}
- {{cards/public-activity-card-small - activity - action=(action 'openModal' activity) - }} + +
{{/each}}