Skip to content

Commit 44cfb7e

Browse files
fix: remove extra 'executed' field from EwA post req
Change-Id: I2e0ea2a3fcff1ec0f23ddfb27c7255fb72b6b3b9
1 parent 116d84c commit 44cfb7e

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/cmk-frontend-vue/src/ai/lib/service/ai-template.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,6 @@ export class AiTemplateService extends ServiceBase {
234234

235235
public async execUserActionButton(userAction: AiActionButton) {
236236
if (Array.isArray(this.config.userActions?.actionButtons)) {
237-
this.config.userActions.actionButtons?.map((a) => {
238-
if (a.action_id === userAction.action_id) {
239-
a.executed = true
240-
}
241-
242-
return a
243-
})
244-
245237
this.addElement({
246238
role: AiRole.user,
247239
content: [

0 commit comments

Comments
 (0)