Escape html chanacters, if any, in CLIN number
This commit is contained in:
parent
eaa6b33b8e
commit
c02bb8518e
@ -1,4 +1,5 @@
|
|||||||
import { emitFieldChange } from '../lib/emitters'
|
import { emitFieldChange } from '../lib/emitters'
|
||||||
|
import escape from '../lib/escape'
|
||||||
import optionsinput from './options_input'
|
import optionsinput from './options_input'
|
||||||
import textinput from './text_input'
|
import textinput from './text_input'
|
||||||
import clindollaramount from './clin_dollar_amount'
|
import clindollaramount from './clin_dollar_amount'
|
||||||
@ -99,7 +100,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
clinTitle: function() {
|
clinTitle: function() {
|
||||||
if (!!this.clinNumber) {
|
if (!!this.clinNumber) {
|
||||||
return `CLIN ${this.clinNumber}`
|
return escape(`CLIN ${this.clinNumber}`)
|
||||||
} else {
|
} else {
|
||||||
return `CLIN`
|
return `CLIN`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user