fix(houseofrc): explain why no transponder matched (1.79.1)
This commit is contained in:
1 parent
3829ca1cab
commit
42df6a786f
5 files changed
+10
-4
No files matched your search
@@ -115,7 +115,7 @@ export async function openHouseOfRcDriverImport({ state, t, escapeHtml, saveStat
|
||||
const summary = t("houseofrc.import_summary", { found, asked: result.asked });
|
||||
const changes = plan.filter((row) => row.nameDiffers || row.brandDiffers || !row.linked);
|
||||
if (!changes.length) {
|
||||
body.innerHTML = `<p>${escapeHtml(summary)}</p><p>${escapeHtml(t("houseofrc.import_nothing"))}</p>`;
|
||||
body.innerHTML = `<p>${escapeHtml(summary)}</p><p>${escapeHtml(t(found ? "houseofrc.import_nothing" : "houseofrc.import_none_found"))}</p>`;
|
||||
return;
|
||||
}
|
||||
const cell = (row, field, current, incoming) => (row[`${field}Differs`]
|
||||
|
||||
Reference in new issue
Block a user