Skip to content

Commit

Permalink
Update event panel
Browse files Browse the repository at this point in the history
  • Loading branch information
V1ncNet committed Sep 8, 2024
1 parent 089ebad commit bda1dbb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import de.vinado.wicket.participate.model.dtos.EventDTO;
import de.vinado.wicket.participate.model.filters.EventFilter;
import de.vinado.wicket.participate.services.EventService;
import de.vinado.wicket.participate.ui.event.details.ParticipantTableUpdateIntent;
import lombok.extern.slf4j.Slf4j;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
Expand Down Expand Up @@ -186,6 +187,7 @@ public void onClick(AjaxRequestTarget target) {
private void execute(SendBulkInvitations command, AjaxRequestTarget target) {
try {
commandHandler().execute(command);
send(getWebPage(), Broadcast.BREADTH, new ParticipantTableUpdateIntent());
ResourceModel message = new ResourceModel("event.invitations.sent.success", "Invitations have been sent");
Snackbar.show(target, message);
success(message.getObject());
Expand Down

0 comments on commit bda1dbb

Please sign in to comment.