Hi,
I try to add a Custom logo in the Title bar (Header) (left side).
I use a template node with the following contents:
<template>
<Teleport v-if="mounted" to="#app-bar-title">
<img height="32px" :src="msg.payload"></img>
</Teleport>
</template>
<script>
export default {
data() {
return {
mounted: false
}
},
mounted() {
this.mounted = true
}
}
</script>
This code has been found at: Template ui-template | Node-RED Dashboard 2.0
I inject an image of the size 32 x 32 pixels. The payload is send as a single Buffer Object to the template node.
The icon image is not shown in the Header, but the icon of an image is shown.
What could be wrong?
Regards