Bug fixes #1
This commit is contained in:
parent
e27c381405
commit
f977ccf9a8
2 changed files with 4 additions and 1 deletions
|
|
@ -109,6 +109,8 @@ export const TicketDetail: FC<TicketDetailProps> = ({ id }) => {
|
||||||
}
|
}
|
||||||
model={{
|
model={{
|
||||||
message: article.bodyWithUrls,
|
message: article.bodyWithUrls,
|
||||||
|
type:
|
||||||
|
article.contentType === "text/html" ? "html" : "text",
|
||||||
sentTime: article.updated_at,
|
sentTime: article.updated_at,
|
||||||
sender: article.from,
|
sender: article.from,
|
||||||
direction:
|
direction:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { gql } from 'graphql-request';
|
import { gql } from "graphql-request";
|
||||||
|
|
||||||
export const getTicketArticlesQuery = gql`
|
export const getTicketArticlesQuery = gql`
|
||||||
query getTicketArticles($ticketId: ID!) {
|
query getTicketArticles($ticketId: ID!) {
|
||||||
|
|
@ -7,6 +7,7 @@ query getTicketArticles($ticketId: ID!) {
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
bodyWithUrls
|
bodyWithUrls
|
||||||
|
contentType
|
||||||
internal
|
internal
|
||||||
type {
|
type {
|
||||||
name
|
name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue