|
@@ -44,6 +44,33 @@ const modalComponents = shallowRef(
|
|
:modal-uuid="activeModalUuid"
|
|
:modal-uuid="activeModalUuid"
|
|
v-bind="modals[activeModalUuid].props"
|
|
v-bind="modals[activeModalUuid].props"
|
|
/>
|
|
/>
|
|
|
|
+ <div
|
|
|
|
+ v-if="!modalComponents[modals[activeModalUuid].modal]"
|
|
|
|
+ class="modal-error"
|
|
|
|
+ >
|
|
|
|
+ <p>
|
|
|
|
+ Modal "{{ modals[activeModalUuid].modal }}" does not exist
|
|
|
|
+ </p>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
+
|
|
|
|
+<style lang="less" scoped>
|
|
|
|
+.modal-error {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ background-color: var(--dark-red);
|
|
|
|
+ color: var(--white);
|
|
|
|
+ z-index: 10000;
|
|
|
|
+ padding: 32px;
|
|
|
|
+
|
|
|
|
+ p {
|
|
|
|
+ padding: 0;
|
|
|
|
+ margin: 0;
|
|
|
|
+ font-size: 3em;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+</style>
|