From 24824f9cb710b3b0d2521bf7a4769f7af2fb7e69 Mon Sep 17 00:00:00 2001 From: Jeff Daley Date: Mon, 2 Oct 2023 12:24:18 -0400 Subject: [PATCH] Fix bug on Approvers/Contributors --- web/app/components/document/sidebar.hbs | 10 +++++++--- web/app/components/document/sidebar.ts | 1 - web/app/components/editable-field.hbs | 7 ++++++- web/app/components/editable-field.ts | 2 ++ web/app/components/hermes-users.ts | 1 + web/app/styles/components/editable-field.scss | 8 +++++--- 6 files changed, 21 insertions(+), 8 deletions(-) diff --git a/web/app/components/document/sidebar.hbs b/web/app/components/document/sidebar.hbs index 0bf8280dc..75da5e8b3 100644 --- a/web/app/components/document/sidebar.hbs +++ b/web/app/components/document/sidebar.hbs @@ -109,8 +109,8 @@ @disabled={{not this.isOwner}} @isRequired={{true}} @name="title" - class="mb-1.5" @tag="h1" + class="mb-1.5" /> @@ -183,7 +183,7 @@
+ {{! + FIXME: this needs to be a local variable probably + so when people are added their avatars are available + }} {{#if (and this.editingIsEnabled (not @isSaving))}} + {{! FIXME: ...something here }} {{on-document "keydown" this.handleKeydown}}
@@ -72,7 +73,11 @@ {{#if (or @isSaving @isLoading)}}
diff --git a/web/app/components/editable-field.ts b/web/app/components/editable-field.ts index 65cd7cace..ce3ebf4dd 100644 --- a/web/app/components/editable-field.ts +++ b/web/app/components/editable-field.ts @@ -167,6 +167,7 @@ export default class EditableFieldComponent extends Component