Skip to content

Commit

Permalink
[sc-11303] Fix Nuclia tokens chart (#1861)
Browse files Browse the repository at this point in the history
  • Loading branch information
operramon authored Dec 5, 2024
1 parent d1eaa5f commit 0d1e1e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
[chartHeight]="chartHeight"
[currentChart]="currentChart"
[processingChart]="config.processingChart | async"
[searchChart]="config.searchChart | async"></app-kb-usage-charts>
[searchChart]="config.searchChart | async"
[tokenChart]="config.tokenChart | async"></app-kb-usage-charts>
</div>
</pa-modal-content>
</pa-modal-advanced>
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { UsageChartsComponent } from './usage-charts.component';
export interface UsageModalConfig {
processingChart: Observable<ChartData>;
searchChart: Observable<ChartData>;
tokenChart: Observable<ChartData>;
currentChart: OptionModel;
chartDropdownOptions: OptionModel[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export class KnowledgeBoxHomeComponent implements OnInit, OnDestroy {
data: {
processingChart: this.processingChart,
searchChart: this.searchChart,
tokenChart: this.nucliaTokenChart,
currentChart: this.currentChart,
chartDropdownOptions: this.chartDropdownOptions,
},
Expand Down

0 comments on commit 0d1e1e4

Please sign in to comment.