From f92e29696d0f01c7fa1941829cb131a708f88393 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Tue, 9 Feb 2021 12:41:53 -0800 Subject: Add enhancements to BVToastMixin Adds ability to create toasts with multi-lined body content and options to include a timestamp and application refresh action. Signed-off-by: Yoshie Muranaka Change-Id: I30b1da04a0e0b5f29a419950462d1ca35e207552 --- src/components/AppHeader/AppHeader.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/components/AppHeader/AppHeader.vue') diff --git a/src/components/AppHeader/AppHeader.vue b/src/components/AppHeader/AppHeader.vue index 5b36cf85..7e1a1006 100644 --- a/src/components/AppHeader/AppHeader.vue +++ b/src/components/AppHeader/AppHeader.vue @@ -172,10 +172,9 @@ export default { watch: { isAuthorized(value) { if (value === false) { - this.errorToast( - this.$t('global.toast.unAuthDescription'), - this.$t('global.toast.unAuthTitle') - ); + this.errorToast(this.$t('global.toast.unAuthDescription'), { + title: this.$t('global.toast.unAuthTitle'), + }); } }, }, -- cgit v1.2.3