Skip to content

Commit

Permalink
fix: nav bar items disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
robb-j committed Nov 13, 2024
1 parent e36a117 commit 7311f58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.0.3](https://github.com/digitalinteraction/deconf-ui-toolkit/compare/v3.0.1...v3.0.2) (2024-11-13)

**fixed** `NavigationBar` items are always disabled

## [3.0.2](https://github.com/digitalinteraction/deconf-ui-toolkit/compare/v3.0.1...v3.0.2) (2024-11-10)

**fixed** improved component types
Expand Down
6 changes: 3 additions & 3 deletions src/core/NavigationBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
v-for="item in routes"
:key="item.name"
:to="{ name: item.name }"
:disabled="!item.enabled"
:disabled="!item.enabled || undefined"
:title="item.title"
class="navbar-item"
active-class="is-active"
Expand All @@ -43,8 +43,8 @@
</div>
<div class="navbar-end">
<!--
Show the owner brand if provided
-->
Show the owner brand if provided
-->
<div v-if="$slots.brandB" class="navbar-item">
<slot name="brandB"></slot>
</div>
Expand Down

0 comments on commit 7311f58

Please sign in to comment.