We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c2222 commit 44b12bfCopy full SHA for 44b12bf
1 file changed
src/frontend/src/Components/map/panels/RestStopPanel.js
@@ -279,7 +279,13 @@ export default function RestStopPanel(props) {
279
)}
280
</div>
281
<div className="data">
282
- <a className="plugshare-link footer-link" href="https://www.plugshare.com/" rel="noreferrer" alt="Disclaimer" >View on Plugshare</a>
+ <a className="plugshare-link footer-link" href="https://www.plugshare.com/" rel="noreferrer" alt="Disclaimer" >
283
+ {restStopData.properties.EV_STATIONS === "Y" ? (
284
+ 'View on Plugshare'
285
+ ) : (
286
+ 'Find chargers on Plugshare'
287
+ )}
288
+ </a>
289
290
291
0 commit comments