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

Dynamic buttons should display unique items #1483

Open
baptisteArno opened this issue Apr 29, 2024 · 1 comment
Open

Dynamic buttons should display unique items #1483

baptisteArno opened this issue Apr 29, 2024 · 1 comment
Labels
Improvement ⚡ UX improvement Quick win ⏩ Something that can be implemented under an hour

Comments

@baptisteArno
Copy link
Owner

No description provided.

@baptisteArno baptisteArno added Improvement ⚡ UX improvement Quick win ⏩ Something that can be implemented under an hour labels Apr 29, 2024
@MzansiDigital
Copy link

// Convert the array to a Set to remove duplicates
const uniqueSet = new Set({{columnData}});

// Convert the Set back to an array
const uniqueArray = Array.from(uniqueSet);

return uniqueArray;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement ⚡ UX improvement Quick win ⏩ Something that can be implemented under an hour
Projects
Status: Backlog ☁️
Development

No branches or pull requests

2 participants