@apotech-os/support-kit 2.7.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui/index.cjs CHANGED
@@ -5269,10 +5269,11 @@ function SingleTicketTab({ langfuseConfig, agents, categories, knownTags, tagSet
5269
5269
  ...autoSendOverride ? { autoSend: true } : {}
5270
5270
  };
5271
5271
  const payload = {
5272
- ...isInline ? { inlineTicket: { body: body.trim(), ...subject.trim() ? { subject: subject.trim() } : {}, channel } } : { ticketId: ticketId.trim() },
5273
- ...agentId.trim() ? { agentId: agentId.trim() } : {},
5274
- ...categoryId.trim() ? { categoryId: categoryId.trim() } : {},
5275
- ...Object.keys(overrides).length > 0 ? { overrides } : {}
5272
+ ticketId: isInline ? null : ticketId.trim(),
5273
+ inlineTicket: isInline ? { body: body.trim(), subject: subject.trim() || null, channel } : null,
5274
+ agentId: agentId.trim() || null,
5275
+ categoryId: categoryId.trim() || null,
5276
+ overrides: Object.keys(overrides).length > 0 ? overrides : null
5276
5277
  };
5277
5278
  try {
5278
5279
  const response = await api.invoke(