Skip to content

Commit

Permalink
fix(xo-6/header): make XO5 link work
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierFL committed Jun 3, 2024
1 parent f6672a6 commit c252a51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion @xen-orchestra/web/src/layouts/DefaultLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</RouterLink>
</template>
<template #app-header>
<UiButton :right-icon="faArrowUpRightFromSquare" level="tertiary">XO 5</UiButton>
<UiButton :right-icon="faArrowUpRightFromSquare" level="tertiary" @click="openXO5()">XO 5</UiButton>
<ButtonIcon
v-tooltip="{ content: $t('tasks.quick-view'), placement: 'bottom-end' }"
:icon="faBarsProgress"
Expand Down Expand Up @@ -51,6 +51,8 @@ defineSlots<{
}>()
const uiStore = useUiStore()
const openXO5 = () => window.open('/', '_blank')
</script>

<style lang="postcss" scoped>
Expand Down

0 comments on commit c252a51

Please sign in to comment.