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

feat: add custom links dropdown, closes #520 #524

Merged
merged 2 commits into from
Jan 22, 2023
Merged

feat: add custom links dropdown, closes #520 #524

merged 2 commits into from
Jan 22, 2023

Conversation

felixmosh
Copy link
Owner

closes #274

This feature allows to add customLinks to the board via uiConfig object

createBullBoard({
    queues: [new BullMQAdapter(exampleBullMq)],
    serverAdapter,
    options: {
      uiConfig: {
        miscLinks: [{ text: 'Logout', url: '/logout' }],
      },
    },
  });

@felixmosh felixmosh merged commit 07370bf into master Jan 22, 2023
<DropdownContent align="end">
{options.map((option) => (
<Item key={option.url} asChild>
<a href={option.url}>{option.text}</a>

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
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.

Feature: Add ability to add a custom link (back to dashboard)
1 participant