Skip to content

Commit

Permalink
Update apps/meteor/app/action-links/client/lib/actionLinks.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tasso Evangelista <tasso.evangelista@rocket.chat>
  • Loading branch information
hugocostadev and tassoevan authored May 27, 2022
1 parent 60ae2ca commit 4402538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/action-links/client/lib/actionLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const actionLinks = {

// return message;
// },
run(method: string, message: IMessage, instance: undefined | Function): void {
run(method: string, message: IMessage, instance?: Blaze.TemplateInstance | ((tab: string) => void)): void {
const actionLink = message.actionLinks && message.actionLinks.find((action) => action.method_id === method);

if (!actionLink) {
Expand Down

0 comments on commit 4402538

Please sign in to comment.