mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 16:49:58 +01:00
chore(react/ribbon): unable to create notes in attribute editor
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
import AttributeEditor from "./components/AttributeEditor";
|
||||
import { TabContext } from "./ribbon-interface";
|
||||
|
||||
export default function OwnedAttributesTab({ note }: TabContext) {
|
||||
export default function OwnedAttributesTab({ note, notePath, componentId }: TabContext) {
|
||||
return (
|
||||
<div className="attribute-list">
|
||||
{ note && <AttributeEditor note={note} /> }
|
||||
{ note && (
|
||||
<AttributeEditor
|
||||
componentId={componentId}
|
||||
note={note}
|
||||
notePath={notePath}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user