Skip to content

Commit

Permalink
fix(@dpc-sdp/ripple-ui-core): fix divider displaying when no cobrand
Browse files Browse the repository at this point in the history
  • Loading branch information
dylankelly committed Aug 23, 2023
1 parent 305936c commit f23bc0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/nuxt-app/test/fixtures/site/disable-vic-logo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"twitter": {},
"og": {}
},
"siteLogo": {
"href": "/",
"src": "https://placehold.co/140x40",
"altText": ""
},
"featureFlags": {
"disablePrimaryLogo": true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ const handleToggleItem = (level: number, item) => {
</RplLink>

<!-- Logo divider -->
<div v-if="secondaryLogo" class="rpl-primary-nav__logo-divider"></div>
<div
v-if="secondaryLogo && !disablePrimaryLogo"
class="rpl-primary-nav__logo-divider"
></div>

<!-- Secondary logo -->
<RplLink
Expand Down

0 comments on commit f23bc0b

Please sign in to comment.