fix: note creator
This commit is contained in:
@ -129,9 +129,9 @@ export default function NavSidebar({ narrow = false }: { narrow?: boolean }) {
|
|||||||
</NavLink>
|
</NavLink>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
{publicKey ? (
|
{publicKey && !readonly ? (
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
<NoteCreatorButton alwaysShow={true} showText={!narrow} withModal={false} />
|
<NoteCreatorButton alwaysShow={false} showText={!narrow} withModal={true} />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
|
Reference in New Issue
Block a user