n8n/packages/editor-ui/src/components/Logo.vue
कारतोफ्फेलस्क्रिप्ट™ ebb3aaf61e
refactor(editor): Drop vue-typed-mixins (no-changelog) (#6257)
2023-05-16 11:43:46 +02:00

25 lines
474 B
Vue

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