mirror of
https://github.com/KevinMidboe/planetposen-frontend.git
synced 2025-10-29 13:10:12 +00:00
Linting
This commit is contained in:
@@ -24,19 +24,19 @@ export interface IShipmentEvent {
|
||||
}
|
||||
|
||||
export interface IShipmentResponse {
|
||||
shipment_id: string
|
||||
order_id: string
|
||||
courier: string
|
||||
has_api: boolean
|
||||
courier_id: number
|
||||
tracking_code: string
|
||||
tracking_link: string
|
||||
user_notified: boolean
|
||||
shipment_id: string;
|
||||
order_id: string;
|
||||
courier: string;
|
||||
has_api: boolean;
|
||||
courier_id: number;
|
||||
tracking_code: string;
|
||||
tracking_link: string;
|
||||
user_notified: boolean;
|
||||
}
|
||||
|
||||
export interface ICourier {
|
||||
courier_id: number
|
||||
name: string
|
||||
website: string
|
||||
has_api: boolean
|
||||
}
|
||||
courier_id: number;
|
||||
name: string;
|
||||
website: string;
|
||||
has_api: boolean;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
fetch(url, options)
|
||||
.then((resp) => resp.json())
|
||||
.then((response) => shipping = response?.shipment || shipping);
|
||||
.then((response) => (shipping = response?.shipment || shipping));
|
||||
}
|
||||
|
||||
function addShipment() {
|
||||
|
||||
@@ -237,7 +237,8 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
li span:first-of-type, li label:first-of-type {
|
||||
li span:first-of-type,
|
||||
li label:first-of-type {
|
||||
display: inline-block;
|
||||
margin-bottom: auto;
|
||||
min-width: 30%;
|
||||
|
||||
Reference in New Issue
Block a user