mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
web: add readonly indicator on notes
This commit is contained in:
@@ -191,6 +191,7 @@ function Note(props: NoteProps) {
|
||||
{note.conflicted && <Alert size={15} color="var(--icon-error)" />}
|
||||
{locked && <Lock size={11} data-test-id={`locked`} />}
|
||||
{note.favorite && <Star color={primary} size={15} />}
|
||||
{note.readonly && <Readonly size={15} />}
|
||||
<TimeAgo live={true} datetime={date} locale="short" />
|
||||
</>
|
||||
) : (
|
||||
@@ -228,6 +229,8 @@ function Note(props: NoteProps) {
|
||||
|
||||
{locked && <Lock size={13} data-test-id={`locked`} />}
|
||||
|
||||
{note.readonly && <Readonly size={15} />}
|
||||
|
||||
{note.favorite && <Star color={primary} size={15} />}
|
||||
|
||||
{tags?.items.map((tag) => {
|
||||
|
||||
Reference in New Issue
Block a user