add mechanism for initial modal display; fix financial verification modal display

This commit is contained in:
dandds
2018-08-09 13:15:01 -04:00
parent 28665c32f9
commit 5e5b357c7e
6 changed files with 44 additions and 35 deletions

View File

@@ -20,7 +20,15 @@ const app = new Vue({
return {
modals: {
styleguideModal: false,
pendingFinancialVerification: false,
}
}
},
mounted: function() {
const modalOpen = document.querySelector("#modalOpen");
if (modalOpen) {
const modal = modalOpen.getAttribute("data-modal");
this.modals[modal] = true;
}
}
})