Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/options/advanced: use a table for "Existing anonymized databases"
Adorian Dorandb4c5bcac255
diff --git a/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.ts b/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.tsindex 9ead621b74..42cf854e07 100644--- a/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.ts+++ b/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.ts@@ -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)));}});}