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

Remove else if on position calculation #5691

Merged
merged 1 commit into from
May 31, 2024
Merged

Remove else if on position calculation #5691

merged 1 commit into from
May 31, 2024

Conversation

thomtrp
Copy link
Contributor

@thomtrp thomtrp commented May 31, 2024

As title

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

  • Refactored get-dragged-record-position.util.ts to replace 'else if' with separate 'if' statements
  • Improved readability and maintainability of position calculation logic
  • Ensured functionality remains unchanged for position calculation

@Weiko Weiko merged commit 9fd761d into main May 31, 2024
13 checks passed
@Weiko Weiko deleted the tt-avoid-else-if branch May 31, 2024 12:31
Weiko pushed a commit that referenced this pull request May 31, 2024
arnavsaxena17 pushed a commit to arnavsaxena17/twenty that referenced this pull request Oct 6, 2024
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.

2 participants