feat: Add note ID for errored notes in note options (#737)

This commit is contained in:
Aman Harwara
2021-11-15 19:04:18 +05:30
committed by GitHub
parent 04136159dc
commit 60eeee385d

View File

@@ -229,6 +229,13 @@ export const NotesOptions = observer(
if (errored) {
return (
<>
{notes.length === 1 ? (
<div className="px-3 pt-1.5 pb-1 text-xs color-neutral font-medium">
<div>
<span className="font-semibold">Note ID:</span> {notes[0].uuid}
</div>
</div>
) : null}
<DeletePermanentlyButton
closeOnBlur={closeOnBlur}
onClick={async () => {