Alert should only display when login with CAC button is clicked

This commit is contained in:
George Drummond
2019-04-30 10:05:27 -04:00
parent e942a6ca19
commit cc482fa0e0
5 changed files with 28 additions and 57 deletions

View File

@@ -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
},
},
}