mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-06 07:49:53 +00:00
fix error for props on AddressDetailsButton.vue
This commit is contained in:
parent
df16ca9a60
commit
8bbe094e70
@ -15,18 +15,20 @@ import AddressModal from "./AddressModal.vue";
|
|||||||
|
|
||||||
export interface AddressModalContentProps {
|
export interface AddressModalContentProps {
|
||||||
address_id: number;
|
address_id: number;
|
||||||
address_ref_status: AddressRefStatus | null;
|
address_ref_status: AddressRefStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = reactive<{
|
interface AddressModalData {
|
||||||
loading: boolean,
|
loading: boolean,
|
||||||
working_address: Address | null,
|
working_address: Address | null,
|
||||||
working_ref_status: AddressRefStatus | null,
|
working_ref_status: AddressRefStatus | null,
|
||||||
}>({
|
}
|
||||||
|
|
||||||
|
const data: AddressModalData = reactive({
|
||||||
loading: false,
|
loading: false,
|
||||||
working_address: null,
|
working_address: null,
|
||||||
working_ref_status: null,
|
working_ref_status: null,
|
||||||
});
|
} as AddressModalData);
|
||||||
|
|
||||||
const props = defineProps<AddressModalContentProps>();
|
const props = defineProps<AddressModalContentProps>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user