Skip to content

Adapt to new summary data#94

Merged
rustamwin merged 3 commits intomasterfrom
adapt-to-yii-debug
Jun 29, 2025
Merged

Adapt to new summary data#94
rustamwin merged 3 commits intomasterfrom
adapt-to-yii-debug

Conversation

@vjik
Copy link
Copy Markdown
Member

@vjik vjik commented Feb 3, 2025

Comment thread packages/yii-dev-panel-sdk/src/Helper/debugEntry.ts
switch (collector) {
case CollectorsMap.AssetCollector:
return Number(data.asset?.bundles?.total);
return Number(data.summary[CollectorsMap.AssetCollector]?.asset?.bundles?.total);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also types should be changed

@rustamwin rustamwin requested a review from xepozz June 27, 2025 09:25
@rustamwin rustamwin merged commit 2cb91dd into master Jun 29, 2025
@rustamwin rustamwin deleted the adapt-to-yii-debug branch June 29, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants