From c32a364cfe280eca0273e816e0072bd9f65da8ba Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Wed, 9 Mar 2022 14:04:25 +0100 Subject: [PATCH] Fix some components props to be not required --- front/src/components/common/HumanDate.vue | 2 +- front/src/components/forms/PasswordInput.vue | 4 ++-- front/src/views/admin/library/AlbumDetail.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/front/src/components/common/HumanDate.vue b/front/src/components/common/HumanDate.vue index 5dc267adf..a2f24e3e8 100644 --- a/front/src/components/common/HumanDate.vue +++ b/front/src/components/common/HumanDate.vue @@ -14,7 +14,7 @@ import { mapState } from 'vuex' export default { props: { - date: { type: String, required: true }, + date: { type: String, default: '' }, icon: { type: Boolean, required: false, default: false } }, computed: { diff --git a/front/src/components/forms/PasswordInput.vue b/front/src/components/forms/PasswordInput.vue index b9dab0e4c..a7b62b4aa 100644 --- a/front/src/components/forms/PasswordInput.vue +++ b/front/src/components/forms/PasswordInput.vue @@ -30,10 +30,10 @@