⬆️ Migration
This commit is contained in:
parent
e11ff037d5
commit
0505b1f403
@ -889,7 +889,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Delete ${this.trip?.name} ? This will delete everything.`,
|
data: `Delete ${this.trip?.name} ? This will delete everything.`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -921,7 +921,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
},
|
},
|
||||||
data: { trip: this.trip },
|
data: { trip: this.trip },
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (new_trip: Trip | null) => {
|
next: (new_trip: Trip | null) => {
|
||||||
@ -948,7 +948,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `${currentArchiveStatus ? "Restore" : "Archive"} ${this.trip?.name} ?${currentArchiveStatus ? "" : " This will make everything read-only."}`,
|
data: `${currentArchiveStatus ? "Restore" : "Archive"} ${this.trip?.name} ?${currentArchiveStatus ? "" : " This will make everything read-only."}`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -982,7 +982,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "80vw",
|
"640px": "80vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (day: TripDay | null) => {
|
next: (day: TripDay | null) => {
|
||||||
@ -1064,7 +1064,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "80vw",
|
"640px": "80vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (day: TripDay | null) => {
|
next: (day: TripDay | null) => {
|
||||||
@ -1098,7 +1098,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Delete ${day.label} ? This will delete everything for this day.`,
|
data: `Delete ${day.label} ? This will delete everything for this day.`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -1137,7 +1137,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (places: Place[] | null) => {
|
next: (places: Place[] | null) => {
|
||||||
@ -1179,7 +1179,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
members: this.tripMembers,
|
members: this.tripMembers,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (item: (TripItem & { day_id: number[] }) | null) => {
|
next: (item: (TripItem & { day_id: number[] }) | null) => {
|
||||||
@ -1247,7 +1247,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
members: this.tripMembers,
|
members: this.tripMembers,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (updated: TripItem | null) => {
|
next: (updated: TripItem | null) => {
|
||||||
@ -1274,7 +1274,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Delete ${item.text.substring(0, 50)} ? This will delete everything for this day.`,
|
data: `Delete ${item.text.substring(0, 50)} ? This will delete everything for this day.`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -1308,7 +1308,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
},
|
},
|
||||||
data: { days: this.trip.days },
|
data: { days: this.trip.days },
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (items: TripItem[] | null) => {
|
next: (items: TripItem[] | null) => {
|
||||||
@ -1349,7 +1349,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"1260px": "90vw",
|
"1260px": "90vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (place: Place | null) => {
|
next: (place: Place | null) => {
|
||||||
@ -1395,7 +1395,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
place: { ...pEdit, category: pEdit.category.id },
|
place: { ...pEdit, category: pEdit.category.id },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (p: Place | null) => {
|
next: (p: Place | null) => {
|
||||||
@ -1510,7 +1510,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Stop sharing ${this.trip.name} ?`,
|
data: `Stop sharing ${this.trip.name} ?`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -1561,7 +1561,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"600px": "90vw",
|
"600px": "90vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (item: PackingItem | null) => {
|
next: (item: PackingItem | null) => {
|
||||||
@ -1604,7 +1604,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Delete ${item.text.substring(0, 50)} ?`,
|
data: `Delete ${item.text.substring(0, 50)} ?`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -1677,7 +1677,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"600px": "90vw",
|
"600px": "90vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (item: ChecklistItem | null) => {
|
next: (item: ChecklistItem | null) => {
|
||||||
@ -1718,7 +1718,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Delete ${item.text.substring(0, 50)} ?`,
|
data: `Delete ${item.text.substring(0, 50)} ?`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -1782,7 +1782,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"600px": "90vw",
|
"600px": "90vw",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
)!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (user: string | null) => {
|
next: (user: string | null) => {
|
||||||
@ -1810,7 +1810,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: `Delete ${username.substring(0, 50)} from Trip ?`,
|
data: `Delete ${username.substring(0, 50)} from Trip ?`,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (bool) => {
|
next: (bool) => {
|
||||||
@ -1842,7 +1842,7 @@ export class TripComponent implements AfterViewInit {
|
|||||||
"640px": "90vw",
|
"640px": "90vw",
|
||||||
},
|
},
|
||||||
data: this.trip?.notes,
|
data: this.trip?.notes,
|
||||||
});
|
})!;
|
||||||
|
|
||||||
modal.onClose.pipe(take(1)).subscribe({
|
modal.onClose.pipe(take(1)).subscribe({
|
||||||
next: (notes: string | null) => {
|
next: (notes: string | null) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user