🐛 Fix Place without image update, 📝 add docker pull clue

This commit is contained in:
itskovacs 2025-07-19 15:18:14 +02:00
parent 22d0abd46e
commit e4a9ede64c
3 changed files with 6 additions and 9 deletions

View File

@ -55,6 +55,10 @@ If you need help, feel free to open an [issue](https://github.com/itskovacs/trip
> Packages are available in the [packages section](https://github.com/itskovacs/trip/pkgs/container/trip) of the repository for quickstart, using just `docker run`
```bash
# Ensure you have the latest
docker pull ghcr.io/itskovacs/trip:1
# Run the app
docker run -p 8080:8000 -v trip-storage:/app/storage ghcr.io/itskovacs/trip:1
```

View File

@ -1 +1 @@
__version__ = "1.1.2"
__version__ = "1.1.3"

View File

@ -155,14 +155,7 @@ export class ApiService {
putPlace(place_id: number, place: Partial<Place>): Observable<Place> {
return this.httpClient
.put<Place>(`${this.apiBaseUrl}/places/${place_id}`, place)
.pipe(
map((place) => {
if (place.image) place.image = `${this.assetsBaseUrl}/${place.image}`;
else
place.image = `${this.assetsBaseUrl}/${(place.category as Category).image}`;
return place;
}),
);
.pipe(map((p) => this._normalizePlaceImage(p)));
}
deletePlace(place_id: number): Observable<null> {