Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

<SmartBreadcrumb /> does not show loading bar when clicking links #62

Open
BD103 opened this issue Jan 12, 2024 · 1 comment
Open

<SmartBreadcrumb /> does not show loading bar when clicking links #62

BD103 opened this issue Jan 12, 2024 · 1 comment
Labels
d-medium Medium difficulty p-low Low priority t-bug A bug t-good-first-issue A good first issue

Comments

@BD103
Copy link
Member

BD103 commented Jan 12, 2024

Switching pages by clicking a link through <SmartBreadcrumb /> does not use <NuxtLink />, and so does not show the loading bar added in f1249a0.

@BD103 BD103 added p-low Low priority t-bug A bug t-good-first-issue A good first issue d-easy Easy difficulty labels Jan 12, 2024
@BD103
Copy link
Member Author

BD103 commented Jan 12, 2024

I thought I would be able to wrap an <NBreadcrumbItem /> in a <NuxtLink />, but it messes up formatting.

<!-- Broken -->
<template>
    <NBreadcrumb>
        <NuxtLink v-for="partIdx in routes.length" :key="partIdx" :href="routes.slice(0, partIdx).map(x => x[1]).join('')">
            <NBreadcrumbItem>
                {{ routes[partIdx - 1][0] }}
            </NBreadcrumbItem>
        </NuxtLink>
    </NBreadcrumb>
</template>
image

@BD103 BD103 added d-medium Medium difficulty and removed d-easy Easy difficulty labels Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
d-medium Medium difficulty p-low Low priority t-bug A bug t-good-first-issue A good first issue
Projects
None yet
Development

No branches or pull requests

1 participant