Alert should only display when login with CAC button is clicked
This commit is contained in:
@@ -1,33 +1,15 @@
|
||||
import checkboxinput from './checkbox_input'
|
||||
import FormMixin from '../mixins/form'
|
||||
|
||||
export default {
|
||||
name: 'fullpagenotice',
|
||||
|
||||
mixins: [FormMixin],
|
||||
|
||||
components: {
|
||||
checkboxinput,
|
||||
},
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
agree: false,
|
||||
visible: true,
|
||||
visible: false,
|
||||
}
|
||||
},
|
||||
|
||||
mounted: function() {
|
||||
this.$root.$on('field-change', this.handleValidChange)
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleValidChange: function(event) {
|
||||
this.agree = event.value
|
||||
},
|
||||
|
||||
agreeToTermsClick: function() {
|
||||
this.visible = false
|
||||
displayNotice: function() {
|
||||
this.visible = true
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user