mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 09:04:07 -08:00
d5c44987f4
* ⚡ Add infix to Pinia stores * ⚡ Fix paths in mocks * 🐛 Fix import
25 lines
474 B
Vue
25 lines
474 B
Vue
<template>
|
|
<img :src="basePath + 'n8n-logo-expanded.svg'" :class="$style.img" alt="n8n.io" />
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { useRootStore } from '@/stores/n8nRoot.store';
|
|
import { mapStores } from 'pinia';
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
computed: {
|
|
...mapStores(useRootStore),
|
|
basePath(): string {
|
|
return this.rootStore.baseUrl;
|
|
},
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.img {
|
|
height: 32px;
|
|
}
|
|
</style>
|