client: mark properties with defaults as optional

This commit is contained in:
Johann150 2022-10-04 20:35:36 +02:00
parent 9dddb1eb6d
commit 06e40246db
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -21,11 +21,11 @@ import { onMounted, onUnmounted } from 'vue';
import MkModal from './modal.vue';
withDefaults(defineProps<{
withOkButton: boolean;
okButtonDisabled: boolean;
width: number;
height: number | null;
scroll: boolean;
withOkButton?: boolean;
okButtonDisabled?: boolean;
width?: number;
height?: number | null;
scroll?: boolean;
}>(), {
withOkButton: false,
okButtonDisabled: false,