Compare commits

..

No commits in common. "4db90d8eef09f3658db35b68b53f13766d5e716c" and "d509c8125c08e55b09fddfbc652797bef8cab4ed" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -478,9 +478,7 @@ export default {
}) })
}, },
async handleConfirmReminder() { async handleConfirmReminder() {
let criterionType = parseInt(this.criterionType) let i = this.$d.CriterionType.findIndex(i=>i.value === parseInt(this.criterionType))
criterionType = criterionType === 17 ? 1 : criterionType
let i = this.$d.CriterionType.findIndex(i=>i.value === criterionType)
if (i === -1) return if (i === -1) return
let criterionName = this.$d.CriterionType[i].label let criterionName = this.$d.CriterionType[i].label
let msg = this.$t('trials:reading:criterion:message').replace('xxx', criterionName) let msg = this.$t('trials:reading:criterion:message').replace('xxx', criterionName)