mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
23 lines
493 B
Vue
23 lines
493 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue';
|
|
import { useRootStore } from '@/stores/root.store';
|
|
import { useUIStore } from '@/stores/ui.store';
|
|
|
|
const rootStore = useRootStore();
|
|
const uiStore = useUIStore();
|
|
|
|
const basePath = computed(() => rootStore.baseUrl);
|
|
|
|
const logoPath = computed(() => basePath.value + uiStore.logo);
|
|
</script>
|
|
|
|
<template>
|
|
<img :src="logoPath" :class="$style.img" alt="n8n.io" />
|
|
</template>
|
|
|
|
<style lang="scss" module>
|
|
.img {
|
|
height: 32px;
|
|
}
|
|
</style>
|