mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 09:42:28 +08:00
client/options/advanced: use a table for "Existing anonymized databases"
This commit is contained in:
parent
82a63a65da
commit
db4c5bcac2
@ -43,9 +43,13 @@ const TPL = `
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<h5>${t("database_anonymization.existing_anonymized_databases")}</h5>
|
<table class="existing-anonymized-databases-table table table-stripped">
|
||||||
|
<thead>
|
||||||
<ul class="existing-anonymized-databases"></ul>
|
<th>${t("database_anonymization.existing_anonymized_databases")}</th>
|
||||||
|
</thead>
|
||||||
|
<tbody class="existing-anonymized-databases">
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
// TODO: Deduplicate with server
|
// TODO: Deduplicate with server
|
||||||
@ -108,7 +112,7 @@ export default class DatabaseAnonymizationOptions extends OptionsWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const { filePath } of anonymizedDatabases) {
|
for (const { filePath } of anonymizedDatabases) {
|
||||||
this.$existingAnonymizedDatabases.append($("<li>").text(filePath));
|
this.$existingAnonymizedDatabases.append($("<tr>").append($("<td>").text(filePath)));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user