diff --git a/notes-webapp/src/main/webapp/skin/less/notes/notes.less b/notes-webapp/src/main/webapp/skin/less/notes/notes.less index b1ead7d7f..ab9d2ef22 100644 --- a/notes-webapp/src/main/webapp/skin/less/notes/notes.less +++ b/notes-webapp/src/main/webapp/skin/less/notes/notes.less @@ -1163,4 +1163,9 @@ ul.note-manual-child { } +.right-separator { + border-right: solid; +} + + diff --git a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue index 621fb3035..0e4aa7206 100644 --- a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue +++ b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NotesEditorDashboard.vue @@ -199,11 +199,13 @@ export default { 'note.title'() { if (this.note.title !== this.actualNote.title ) { this.autoSave(); + this.hideTranslations(); } }, 'note.content'() { if (this.note.content !== this.actualNote.content) { this.autoSave(); + this.hideTranslations(); } }, }, @@ -927,6 +929,10 @@ export default { this.showTranslationBar=true; this.$refs.translationsEditBar.show(); }, + hideTranslations() { + this.showTranslationBar=false; + this.$refs.translationsEditBar.hide(); + }, isDefaultContent(noteContent) { const div = document.createElement('div'); div.innerHTML = noteContent;