diff --git a/src/components/Notifications/NotificationItem.vue b/src/components/Notifications/NotificationItem.vue index 37d610b..a2d8559 100644 --- a/src/components/Notifications/NotificationItem.vue +++ b/src/components/Notifications/NotificationItem.vue @@ -3,7 +3,7 @@ .notification-content.flex.mr-16 .grid(:class="{'grid-rows': message}") .text-white.text-xs.icon.row-span-full.flex.justify-center.items-center(:class="iconClass") - .text-white.text-base(v-if="title") {{ title }} + .text-white.text-base.font-bold(v-if="title") {{ title }} .text-white.text-base(v-if="message") {{ message }} .icon-cancel.cursor-pointer.text-white.opacity-50.text-sm(class="hover:opacity-100 active:opacity-75", @click="delNotification") @@ -85,4 +85,5 @@ export default { grid-column-gap: 8px .grid-rows grid-template-rows: repeat(2, auto) + grid-row-gap: 8px diff --git a/src/components/base/BaseClientFormCreate.vue b/src/components/base/BaseClientFormCreate.vue index 644903b..b671726 100644 --- a/src/components/base/BaseClientFormCreate.vue +++ b/src/components/base/BaseClientFormCreate.vue @@ -298,7 +298,7 @@ export default { "Не заполнено ФИО клиента", "Пожалуйста, заполните ФИО клиента", "error", - 3000 + 5000 ); }, addSuccessNotification() { @@ -307,7 +307,7 @@ export default { "Клиент успешно создан", "", "success", - 3000 + 5000 ); }, }, diff --git a/src/pages/calendar/components/CalendarDeleteModal.vue b/src/pages/calendar/components/CalendarDeleteModal.vue index 4d149fb..1c2c36b 100644 --- a/src/pages/calendar/components/CalendarDeleteModal.vue +++ b/src/pages/calendar/components/CalendarDeleteModal.vue @@ -56,7 +56,7 @@ export default { "Событие успешно удалено", "", "success", - 3000 + 5000 ); }, }, diff --git a/src/pages/calendar/components/CalendarFormAddEvent.vue b/src/pages/calendar/components/CalendarFormAddEvent.vue index 3bd08d6..9a86ff3 100644 --- a/src/pages/calendar/components/CalendarFormAddEvent.vue +++ b/src/pages/calendar/components/CalendarFormAddEvent.vue @@ -365,15 +365,14 @@ export default { addErrrorNotification(error) { addNotification( new Date().getTime(), - error.type, - `error code: ${error.errors[0].code} - error detail: ${error.errors[0].detail}`, + error.errors[0].code, + error.errors[0].detail, "error", - 3000 + 5000 ); }, addSuccessNotification(message) { - addNotification(new Date().getTime(), message, "", "success", 3000); + addNotification(new Date().getTime(), message, "", "success", 5000); }, fetchMembersData() { fetchWrapper