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

fix: emit script error when copying unobservable rows #1329

Merged
merged 2 commits into from Apr 27, 2021
Merged

Conversation

js87zz
Copy link
Contributor

@js87zz js87zz commented Apr 23, 2021

Please check if the PR fulfills these requirements

  • It's submitted to right branch according to our branching model
  • It's right issue type on title
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • It does not introduce a breaking change or has description for the breaking change

Description

  • fixed that emitting the script error when copying unobservable rows.
    2021-04-23 17-21-30 2021-04-23 17_21_51

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

Copy link
Member

@jung-han jung-han left a comment

Choose a reason for hiding this comment

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

완료입니다! makeObservable 테스트 코드가 있다면 해당 부분도 추가되면 좋을 것 같습니다~

Copy link
Contributor

@jungeun-cho jungeun-cho left a comment

Choose a reason for hiding this comment

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

확인했습니다~!

@@ -87,7 +87,7 @@ export function updateHeights(store: Store) {
: filteredRawData.map((row) => getRowHeight(row, rowHeight));
}

export function makeObservable(store: Store, rowIndex: number) {
export function makeObservable(store: Store, rowIndex: number, silent?: boolean) {
Copy link
Contributor

Choose a reason for hiding this comment

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

silent = false로 디폴트값을 설정해주는건어때요?

Copy link
Member

@shiren shiren left a comment

Choose a reason for hiding this comment

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

!/수고하셨습니다.

Copy link

@lja1018 lja1018 left a comment

Choose a reason for hiding this comment

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

리뷰완료합니다.

@js87zz js87zz merged commit 1759386 into master Apr 27, 2021
@js87zz js87zz deleted the fix/copy-all-rows branch April 27, 2021 03:37
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.

None yet

5 participants