Fix "undefined" new pad title

pull/172/head
Candid Dauth 2021-05-03 01:25:20 +02:00
rodzic 4903d3039e
commit fbdea44c5b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title><%= padData ? `${padData.name} – ` : ''%>FacilMap</title>
<title><%= padData && padData.name ? `${padData.name} – ` : ''%>FacilMap</title>
<% if(!padData || padData.searchEngines) { %>
<meta name="robots" content="index,nofollow" />
<meta name="description" content="<%= padData && padData.description || "A fully-featured OpenStreetMap-based map where markers and lines can be added with live collaboration." %>" />