Update to disable button when button question cleared programmatically

This commit is contained in:
Bill Richardson 2024-09-12 13:18:06 -04:00
parent 811ac473f1
commit 005223b2fc

View file

@ -346,9 +346,14 @@ export default {
},
watch: {
selectedProvider() {
if (this.selectedProvider && this.selectedProvider !== SAFELITE_PROVIDER) {
this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal();
this.selectedProvider = '';
if (this.selectedProvider) {
if (this.selectedProvider !== SAFELITE_PROVIDER) {
this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal();
this.selectedProvider = '';
this.$refs.siteFooter.disableForwardButton();
} else {
this.$refs.siteFooter.enableForwardAction();
}
}
},
nextStepsBody(newValue, oldValue) {