diff --git a/src/components/Modal.vue b/src/components/Modal.vue index 2f36101..95f3ec8 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -46,7 +46,7 @@ import Context from "./Context.vue"; const _props = defineProps<{ modelValue: boolean; - closable?: boolean; + preventClosing?: boolean; width?: string; }>(); const props = toRefs(_props); @@ -56,7 +56,7 @@ const emit = defineEmits<{ const isOpen = computed(() => unref(props.modelValue) || isAnimating.value); function close() { - if (unref(props.closable) !== false) { + if (unref(props.preventClosing) !== true) { emit("update:modelValue", false); } } diff --git a/src/components/saves/CloudSaveResolver.vue b/src/components/saves/CloudSaveResolver.vue index ae4c0c9..2c0188a 100644 --- a/src/components/saves/CloudSaveResolver.vue +++ b/src/components/saves/CloudSaveResolver.vue @@ -1,5 +1,5 @@