mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-02 14:07:43 +00:00
Force adress ref status not to be null
This commit is contained in:
parent
f02c5bca13
commit
88c6e0e0d3
@ -2,14 +2,14 @@ import AddressDetailsButton from "../../vuejs/_components/AddressDetails/Address
|
|||||||
import {createApp} from "vue";
|
import {createApp} from "vue";
|
||||||
import {createI18n} from "vue-i18n";
|
import {createI18n} from "vue-i18n";
|
||||||
import {_createI18n} from "../../vuejs/_js/i18n";
|
import {_createI18n} from "../../vuejs/_js/i18n";
|
||||||
import {Address} from "../../types";
|
import {Address, AddressRefStatus} from "../../types";
|
||||||
|
|
||||||
const i18n = _createI18n({});
|
const i18n = _createI18n({});
|
||||||
|
|
||||||
document.querySelectorAll<HTMLSpanElement>('span[data-address-details]').forEach((el) => {
|
document.querySelectorAll<HTMLSpanElement>('span[data-address-details]').forEach((el) => {
|
||||||
const dataset = el.dataset as {
|
const dataset = el.dataset as {
|
||||||
addressId: string,
|
addressId: string,
|
||||||
addressRefStatus: string,
|
addressRefStatus: AddressRefStatus,
|
||||||
};
|
};
|
||||||
|
|
||||||
const app = createApp({
|
const app = createApp({
|
||||||
|
@ -15,7 +15,7 @@ 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<{
|
const data = reactive<{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user