From c2258294ced569310d21b5c8e03e455408b18d22 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Fri, 20 Mar 2020 16:28:18 +0800 Subject: [PATCH] fix(edit series dialog): better form handling error messages if title/titleSort is missing only send updated fields to API display MIXED placeholder in status when editing multiple series with different status fix dialog display on small screen height --- .../src/components/EditBooksDialog.vue | 4 +- .../src/components/EditSeriesDialog.vue | 207 ++++++++++++------ 2 files changed, 137 insertions(+), 74 deletions(-) diff --git a/komga-webui/src/components/EditBooksDialog.vue b/komga-webui/src/components/EditBooksDialog.vue index dd7e22bdb..513bb2e9b 100644 --- a/komga-webui/src/components/EditBooksDialog.vue +++ b/komga-webui/src/components/EditBooksDialog.vue @@ -554,9 +554,7 @@ export default Vue.extend({ } return null }, - async editBooks () - : - Promise { + async editBooks (): Promise { const metadata = this.validateForm() if (metadata) { const updated = [] as BookDto[] diff --git a/komga-webui/src/components/EditSeriesDialog.vue b/komga-webui/src/components/EditSeriesDialog.vue index b22892976..33d339cf5 100644 --- a/komga-webui/src/components/EditSeriesDialog.vue +++ b/komga-webui/src/components/EditSeriesDialog.vue @@ -5,40 +5,47 @@ max-width="800" @keydown.esc="dialogCancel" > - - - - mdi-close - - {{ dialogTitle }} - - - Save changes - - +
+ + + + mdi-close + + {{ dialogTitle }} + + + Save changes + + - - mdi-pencil - {{ dialogTitle }} - + + mdi-pencil + {{ dialogTitle }} + - - - mdi-format-align-center - General - + + + mdi-format-align-center + General + - - - - + + + - +