diff --git a/Sources/TableRow.swift b/Sources/TableRow.swift index 3dac46b..7c1e70e 100644 --- a/Sources/TableRow.swift +++ b/Sources/TableRow.swift @@ -93,4 +93,10 @@ public class TableRow(type: TableRowActionType, handler: (data: TableRowActionData) -> T) -> Self { + + actions[type.key] = TableRowAction(type, handler: handler) + return self + } } \ No newline at end of file