mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
18 lines
533 B
TypeScript
18 lines
533 B
TypeScript
import { TabContext } from "./ribbon-interface";
|
|
import EditedNotes from "../../widgets/EditedNotes"
|
|
|
|
export default function EditedNotesTab({ note }: TabContext) {
|
|
const dateNoteLabelValue = note?.getLabelValue("dateNote") || "";
|
|
|
|
return (
|
|
<div className="edited-notes-widget" style={{
|
|
padding: "12px",
|
|
maxHeight: "200px",
|
|
width: "100%",
|
|
overflow: "auto"
|
|
}}>
|
|
<EditedNotes noteId={note?.noteId} dateFilter={dateNoteLabelValue} />
|
|
</div>
|
|
)
|
|
}
|