Skip to content

Commit

Permalink
FUTURE PR? Configurable top bar
Browse files Browse the repository at this point in the history
  • Loading branch information
diocas committed Dec 17, 2022
1 parent d1ffe75 commit 6215548
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/web-runtime/src/components/Topbar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,19 @@
<div class="portal-wrapper">
<portal-target name="app.runtime.header" multiple></portal-target>
</div>
<div class="oc-topbar-right oc-flex oc-flex-middle oc-flex-between">
<portal-target
name="app.runtime.header.right"
class="oc-topbar-right oc-flex oc-flex-middle oc-flex-between"
multiple
></portal-target>
<portal to="app.runtime.header.right" :order="50">
<theme-switcher v-if="darkThemeAvailable" />
<feedback-link v-if="isFeedbackLinkEnabled" v-bind="feedbackLinkOptions" />
</portal>
<portal to="app.runtime.header.right" :order="100">
<notifications v-if="isNotificationBellEnabled" />
<user-menu v-if="isUserMenuEnabled" :applications-list="userMenuItems" />
</div>
</portal>
</header>
</template>

Expand Down

0 comments on commit 6215548

Please sign in to comment.