GMaps modal: use photo, update interface

This commit is contained in:
itskovacs 2025-11-09 18:42:23 +01:00
parent f4133d6446
commit 5b28b5e605
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<div class="flex items-center justify-between gap-4 p-4 cursor-pointer hover:bg-gray-50" (click)="closeDialog(r)">
<div class="flex flex-1 min-w-0 items-center gap-2">
<div class="shrink-0">
<img class="size-12 rounded-full" src="favicon.png">
<img class="size-12 rounded-full" [src]="r.image || 'favicon.png'">
</div>
<div>

View File

@ -28,12 +28,14 @@ export interface Place {
export interface GooglePlaceResult {
name: string;
category?: string;
lat: number;
lng: number;
price: number;
types: string[];
allowdog: boolean;
description: string;
image: string;
}
export interface GoogleBoundaries {