Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColumnChart #7

Merged
merged 1 commit into from
Feb 18, 2025
Merged

ColumnChart #7

merged 1 commit into from
Feb 18, 2025

Conversation

AlexIgn88
Copy link

ColumnChart

@jsru-1
Copy link
Contributor

jsru-1 commented Feb 18, 2025

Добавляю преподавателя (@ufocoder) для код-ревью.

const value = normalizedData.reduce((sum, cur) => sum + cur, 0);
this.element.querySelector('[data-element="header"]').innerHTML = this.formatHeading(value);
super.update(normalizedData);
this.element.classList.remove('column-chart_loading');

Choose a reason for hiding this comment

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

если данных не будет, то лоадер будет и дальше показываться

Copy link

@ufocoder ufocoder left a comment

Choose a reason for hiding this comment

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

Исправьте замечание в рамках следующего PR

@jsru-1 jsru-1 merged commit 349fac3 into js-tasks-ru:master Feb 18, 2025
1 check passed
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