Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Add datatable search function

Smaug673959acfa25458e
diff --git a/frontend/app/components/DataTable.vue b/frontend/app/components/DataTable.vue
index 3fc901d9..8f5b2754 100644
--- a/frontend/app/components/DataTable.vue
+++ b/frontend/app/components/DataTable.vue
@@ -1,5 +1,6 @@
<template>
<div class="container">
+ <input type="text" v-model="searchInput" placeholder="Search..." />
<div class="table-wrapper">
<table>
<thead>
@@ -109,6 +110,7 @@ interface Field {
}
.table-wrapper {
width: 100%;
+ border-top: 1px solid var(--border-color);
overflow-x: auto;
}
.header {