diff --git a/src/Squidex/app/shared/components/geolocation-editor.component.ts b/src/Squidex/app/shared/components/geolocation-editor.component.ts index 6ee573110..18ffd31db 100644 --- a/src/Squidex/app/shared/components/geolocation-editor.component.ts +++ b/src/Squidex/app/shared/components/geolocation-editor.component.ts @@ -41,11 +41,12 @@ interface Snapshot { changeDetection: ChangeDetectionStrategy.OnPush }) export class GeolocationEditorComponent extends StatefulControlComponent implements AfterViewInit { - private readonly isGoogleMaps: boolean; private marker: any; private map: any; private value: Geolocation | null = null; + public readonly isGoogleMaps: boolean; + public get hasValue() { return !!this.value; }