GMaps modal: use photo, update interface
This commit is contained in:
parent
f4133d6446
commit
5b28b5e605
@ -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 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="flex flex-1 min-w-0 items-center gap-2">
|
||||||
<div class="shrink-0">
|
<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>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -28,12 +28,14 @@ export interface Place {
|
|||||||
|
|
||||||
export interface GooglePlaceResult {
|
export interface GooglePlaceResult {
|
||||||
name: string;
|
name: string;
|
||||||
|
category?: string;
|
||||||
lat: number;
|
lat: number;
|
||||||
lng: number;
|
lng: number;
|
||||||
price: number;
|
price: number;
|
||||||
types: string[];
|
types: string[];
|
||||||
allowdog: boolean;
|
allowdog: boolean;
|
||||||
description: string;
|
description: string;
|
||||||
|
image: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GoogleBoundaries {
|
export interface GoogleBoundaries {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user