mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-01 20:52:27 +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 />
|
||||
|
||||
<h5>${t("database_anonymization.existing_anonymized_databases")}</h5>
|
||||
|
||||
<ul class="existing-anonymized-databases"></ul>
|
||||
<table class="existing-anonymized-databases-table table table-stripped">
|
||||
<thead>
|
||||
<th>${t("database_anonymization.existing_anonymized_databases")}</th>
|
||||
</thead>
|
||||
<tbody class="existing-anonymized-databases">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>`;
|
||||
|
||||
// TODO: Deduplicate with server
|
||||
@ -108,7 +112,7 @@ export default class DatabaseAnonymizationOptions extends OptionsWidget {
|
||||
}
|
||||
|
||||
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