string literal fixes & npm run postgres:docker

This commit is contained in:
Michael C
2021-07-13 15:45:24 -04:00
parent b5a29675d6
commit 1ba1450e9c
4 changed files with 33 additions and 32 deletions

View File

@@ -127,13 +127,13 @@ export default async function dumpDatabase(req: Request, res: Response, showPage
</tr>
</thead>
<tbody>
${latestDumpFiles.map((item:any) => {
return `
<tr>
<td>${item.tableName}</td>
<td><a href="/database/${item.tableName}.csv">${item.tableName}.csv</a></td>
</tr>
`;
${latestDumpFiles.map((item:any) => {
return `
<tr>
<td>${item.tableName}</td>
<td><a href="/database/${item.tableName}.csv">${item.tableName}.csv</a></td>
</tr>
`;
}).join("")}
${latestDumpFiles.length === 0 ? '<tr><td colspan="2">Please wait: Generating files</td></tr>' : ""}
</tbody>