From 237fc4a4cbfc6b4b1a50d2083c711265f964d616 Mon Sep 17 00:00:00 2001 From: Kisters-BS <84901454+Kisters-BS@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:00:06 +0100 Subject: [PATCH] Fix only showing first parameter --- .../layout/doc/app.docapisection.component.ts | 2 +- .../layout/doc/app.docapitable.component.ts | 32 ++++++++++--------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/app/showcase/layout/doc/app.docapisection.component.ts b/src/app/showcase/layout/doc/app.docapisection.component.ts index 07fe030cc39..ed62f296589 100644 --- a/src/app/showcase/layout/doc/app.docapisection.component.ts +++ b/src/app/showcase/layout/doc/app.docapisection.component.ts @@ -281,7 +281,7 @@ export class AppDocApiSection { setEmitData(emitters) { return emitters.map((emitter) => ({ name: emitter.name, - parameters: { name: emitter.parameters[0]?.name, type: emitter.parameters[0]?.type }, + parameters: emitter.parameters, description: emitter.description, deprecated: emitter.deprecated })); diff --git a/src/app/showcase/layout/doc/app.docapitable.component.ts b/src/app/showcase/layout/doc/app.docapitable.component.ts index 4ff25bb7616..e06cabe8df7 100644 --- a/src/app/showcase/layout/doc/app.docapitable.component.ts +++ b/src/app/showcase/layout/doc/app.docapitable.component.ts @@ -33,21 +33,23 @@ import { AppConfigService } from '../../service/appconfigservice'; > {{ entry[1] || '-' }} -
- {{ entry[1].name }} : - {{ i !== 0 ? ' |' : ' ' }} - {{ value || '-' }} - - {{ value }} - - -
+ +
+ {{ parameter.name }} : + {{ i !== 0 ? ' |' : ' ' }} + {{ value || '-' }} + + {{ value }} + + +
+
null