Files
Automata/packages/editor-ui/src/components/Logo.vue
कारतोफ्फेलस्क्रिप्ट™ 101255d186 ci: Make builds release-channel aware. Add support for scheduled beta builds (#7323)
ADO-1121

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-10-03 20:49:04 +02:00

28 lines
531 B
Vue

<template>
<img :src="logoPath" :class="$style.img" alt="n8n.io" />
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { mapStores } from 'pinia';
import { useRootStore, useUIStore } from '@/stores';
export default defineComponent({
computed: {
...mapStores(useRootStore, useUIStore),
basePath(): string {
return this.rootStore.baseUrl;
},
logoPath(): string {
return this.basePath + this.uiStore.logo;
},
},
});
</script>
<style lang="scss" module>
.img {
height: 32px;
}
</style>