Added automatic duplication for templates of existing template BOD-253
This commit is contained in:
@@ -11,6 +11,18 @@ export const QUERY_TEMPLATES_BY_NAME = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const QUERY_TEMPLATES_BY_NAME_FOR_DUPE = gql`
|
||||
query QUERY_TEMPLATES_BY_NAME_FOR_DUPE($name: String!) {
|
||||
templates(where: { name: { _eq: $name } }) {
|
||||
id
|
||||
name
|
||||
query
|
||||
html
|
||||
bodyshopid
|
||||
jsontemplate
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const QUERY_CUSTOM_TEMPLATES = gql`
|
||||
query QUERY_CUSTOM_TEMPLATES {
|
||||
|
||||
Reference in New Issue
Block a user