From a4ebadcf9f55e269a5335b592a4098b4a79be5df Mon Sep 17 00:00:00 2001 From: Gabriele Panico Date: Tue, 21 Nov 2023 10:08:12 +0100 Subject: [PATCH] Merge commit '16f3f1d6aab5425edd17fcbd6b9ea2a1b5e7aac3' --- Dockerfile | 2 +- .../cds-chatbot-details/detail/detail.component.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1dceddd0..834df0ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY . . ## Build the angular app in production mode and store the artifacts in dist folder -RUN npm run ng build --configuration="prod" --output-path=dist --base-href="./" --output-hashing=none --build-optimizer=true --vendor-chunk +RUN npm run ng build --configuration="prod" --output-path=dist --base-href="/cds/" --output-hashing=none --build-optimizer=true --vendor-chunk ### STAGE 2: Setup ### diff --git a/src/app/chatbot-design-studio/cds-chatbot-details/detail/detail.component.ts b/src/app/chatbot-design-studio/cds-chatbot-details/detail/detail.component.ts index 316dd9c2..8a35a3c3 100644 --- a/src/app/chatbot-design-studio/cds-chatbot-details/detail/detail.component.ts +++ b/src/app/chatbot-design-studio/cds-chatbot-details/detail/detail.component.ts @@ -492,6 +492,7 @@ export class CDSDetailBotDetailComponent extends BotsBaseComponent implements On this.logger.log('[CDS-CHATBOT-DTLS] BOT PROFILE IMAGE (FAQ-COMP) deleteBotProfileImage') this.uploadService.delete(this.user.uid, this.selectedChatbot.url).then((result)=>{ this.botProfileImageExist = false; + this.selectedChatbot.url = null const delete_bot_image_btn = document.querySelector('#cds-delete-bot-img-btn'); delete_bot_image_btn.blur();