File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
samples/ai-powered-summaries Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -147,27 +147,27 @@ function updateSummaryPanel(place: google.maps.places.Place) {
147147 ) ;
148148 }
149149
150- // --- 2. Neighborhood Summary ---
150+ // --- 2. Review Summary ---
151151 //@ts -ignore
152- if ( place . neighborhoodSummary ?. overview ?. content ) {
152+ if ( place . reviewSummary ?. text ) {
153153 createTab (
154- 'Neighborhood ' ,
154+ 'Reviews ' ,
155155 //@ts -ignore
156- place . neighborhoodSummary . overview . content ,
156+ place . reviewSummary . text ,
157157 //@ts -ignore
158- place . neighborhoodSummary . disclosureText
158+ place . reviewSummary . disclosureText
159159 ) ;
160160 }
161-
162- // --- 3. Review Summary ---
161+
162+ // --- 3. Neighborhood Summary ---
163163 //@ts -ignore
164- if ( place . reviewSummary ?. text ) {
164+ if ( place . neighborhoodSummary ?. overview ?. content ) {
165165 createTab (
166- 'Reviews ' ,
166+ 'Neighborhood ' ,
167167 //@ts -ignore
168- place . reviewSummary . text ,
168+ place . neighborhoodSummary . overview . content ,
169169 //@ts -ignore
170- place . reviewSummary . disclosureText
170+ place . neighborhoodSummary . disclosureText
171171 ) ;
172172 }
173173
You can’t perform that action at this time.
0 commit comments