+
{renderTagButton()}
{renderTagBar()}
diff --git a/packages/app-desktop/gui/NoteEditor/NoteTitle/NoteTitleBar.tsx b/packages/app-desktop/gui/NoteEditor/NoteTitle/NoteTitleBar.tsx
index 8af2d6777..5b4d655d3 100644
--- a/packages/app-desktop/gui/NoteEditor/NoteTitle/NoteTitleBar.tsx
+++ b/packages/app-desktop/gui/NoteEditor/NoteTitle/NoteTitleBar.tsx
@@ -91,7 +91,7 @@ export default function NoteTitleBar(props: Props) {
}, []);
function renderTitleBarDate() {
- return
{time.formatMsToLocal(props.noteUserUpdatedTime)};
+ return
{time.formatMsToLocal(props.noteUserUpdatedTime)};
}
function renderNoteToolbar() {
@@ -104,6 +104,7 @@ export default function NoteTitleBar(props: Props) {
return (
;
+ const classNames = [
+ 'list-item-container',
+ props.isSelected && 'selected',
+ item.todo_completed && 'todo-completed',
+ item.is_todo ? 'todo-list-item' : 'note-list-item',
+ (props.index + 1) % 2 === 0 ? 'even' : 'odd',
+ ]
+ .filter(e => !!e)
+ .join(' ');
// Need to include "todo_completed" in key so that checkbox is updated when
// item is changed via sync.
return (
+
{closeButton}
onDateTimeChange(momentObject)} />;
+ inputComp =
onDateTimeChange(momentObject)} />;
} else if (this.props.inputType === 'tags') {
- inputComp = onKeyDown(event)} />;
+ inputComp = onKeyDown(event)} />;
} else if (this.props.inputType === 'dropdown') {
- inputComp =