Forgot to save file

This commit is contained in:
Leah Schumann 2023-02-08 13:34:14 -05:00
parent 7db466fc60
commit d0842d6713

View file

@ -42,11 +42,11 @@
<script>
import buttonMain from "@/ux-components/button-main/button-main";
import { Modal } from "bootstrap";
import { checkPropertyChange } from "json-schema";
export default {
name: "modal",
props: {
modalId: String,
headerText: String,
footerButtonText: String,
modalForm: {
@ -56,6 +56,11 @@ export default {
type: Function,
},
},
setup() {
const modalId = `modal-${crypto.randomUUID()}`;
return modalId;
},
methods: {
async validateAndEmit() {
if (this.modalForm) {