Merge pull request #1433 from josepfo/fix/tc-photo-config-field

fix: add tcPhoto field
This commit is contained in:
Rafael Taranto 2022-11-04 13:33:19 +00:00 committed by GitHub
commit 1a06e13160
2 changed files with 2 additions and 0 deletions

View file

@ -235,6 +235,7 @@ const configs = (parent, { currentConfigVersion }, { deviceId, deviceName, opera
const massageTerms = terms => (terms.active && terms.text) ? ({
tcPhoto: Boolean(terms.tcPhoto),
delay: Boolean(terms.delay),
title: terms.title,
text: nmd(terms.text),

View file

@ -71,6 +71,7 @@ type Trigger {
}
type TermsDetails {
tcPhoto: Boolean!
delay: Boolean!
title: String!
accept: String!