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 37b5f1235..086488cc8 100644 --- a/notes-webapp/src/main/webapp/skin/less/notes/notes.less +++ b/notes-webapp/src/main/webapp/skin/less/notes/notes.less @@ -1162,4 +1162,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 45ec71176..a7cf51697 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 @@ -198,11 +198,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(); } }, }, @@ -894,6 +896,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;