diff --git a/src/components/welcome/WelcomeMessage.vue b/src/components/welcome/WelcomeMessage.vue index b1e4359a0..777c6778c 100644 --- a/src/components/welcome/WelcomeMessage.vue +++ b/src/components/welcome/WelcomeMessage.vue @@ -14,7 +14,7 @@ {{ aiProcessButtonSubtitle }}
- + {{ aiProcessButtonSubtitle }} @@ -70,6 +70,13 @@ export default { return ''; }, + showSessionLoader() { + if (!(!this.promptSessionId || this.promptSessionId === '') && this.lastSession.firstname === undefined) { + return true; + } + + return false; + }, aiProcessButtonTitle() { if (!this.promptSessionId || this.promptSessionId === '') { return this.$t('Create a process with AI'); @@ -81,10 +88,6 @@ export default { return this.$t('Kick-start an AI generated process'); } - if (this.lastSession.firstname === undefined) { - return null; - } - return `${this.lastSession.firstname} ${this.lastSession.lastnameInitials}. | ${this.formatDateTime(this.lastSession.requestDate)}`; }, },