Skip to content

Instantly share code, notes, and snippets.

@armorpreston
Last active March 25, 2020 15:19
Show Gist options
  • Save armorpreston/64c7a688067f4d12bdc1f517184cfde7 to your computer and use it in GitHub Desktop.
Save armorpreston/64c7a688067f4d12bdc1f517184cfde7 to your computer and use it in GitHub Desktop.
Disable breadcrumbs dropdown

To disable the dropdown options. you can set [hasQuickNav]="false"

Example: Incident Detail

Before

<breadcrumb #breadcrumb
            [hasOverview]="false"
            [hasQuickNav]="true"
            [quickNavOptions]="quickNavOptions"
            [quickNavSelection]="alert?.detectionId">
</breadcrumb>

After

https://i.imgur.com/uaIu3Kl.png

<breadcrumb #breadcrumb></breadcrumb>
  • Drop quickNavOptions & quickNavSelection as they are no longer needed
  • hasQuickNav & hasOverview both default to false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment