From 405ac65be41248fdd68c0f4b22551bd349086ad4 Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Mon, 7 Sep 2020 12:47:18 +0200 Subject: [PATCH] fix: actually display tags extension --- app/assets/javascripts/views/editor/editor-view.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/views/editor/editor-view.pug b/app/assets/javascripts/views/editor/editor-view.pug index 625b0c857..fc3a9216c 100644 --- a/app/assets/javascripts/views/editor/editor-view.pug +++ b/app/assets/javascripts/views/editor/editor-view.pug @@ -32,9 +32,9 @@ ) {{self.state.noteStatus.message}} .desc(ng-show='self.state.noteStatus.desc') {{self.state.noteStatus.desc}} .editor-tags - #note-tags-component-container(ng-if='self.activeTagsComponent') + #note-tags-component-container(ng-if='self.state.tagsComponent') component-view.component-view( - component-uuid='self.activeTagsComponent.uuid', + component-uuid='self.state.tagsComponent.uuid', ng-class="{'locked' : self.noteLocked}", ng-style="self.noteLocked && {'pointer-events' : 'none'}", application='self.application' @@ -42,7 +42,7 @@ input.tags-input( ng-blur='self.onTagsInputBlur()', ng-disabled='self.noteLocked', - ng-if='!self.activeTagsComponent', + ng-if='!self.state.tagsComponent', ng-keyup='$event.keyCode == 13 && $event.target.blur();', ng-model='self.editorValues.tagsInputValue', placeholder='#tags',