Fix Canopy overview crash when rendering bot avatars
This commit is contained in:
1 parent
2b57fd62eb
commit
b24611adb7
3 files changed
+12
-5
No files matched your search
@@ -115,7 +115,9 @@ async function loadMetadata(api, route) {
|
||||
}]))
|
||||
}
|
||||
|
||||
const el = (type, props, ...children) => h(type,{...props,children:children.length === 1 ? children[0] : children})
|
||||
const el = (type, props, ...children) => h(type,children.length ? {
|
||||
...props,children:children.length === 1 ? children[0] : children,
|
||||
} : props)
|
||||
const sr = {color:'var(--ui-text-secondary)',fontSize:'0.85em',margin:'6px 0'}
|
||||
const clip = {minWidth:0,overflow:'hidden',whiteSpace:'nowrap',textOverflow:'ellipsis'}
|
||||
const line = {display:'flex',gap:6,alignItems:'center',textAlign:'start',width:'100%'}
|
||||
@@ -233,7 +235,7 @@ function Overview({ctx}) {
|
||||
}
|
||||
|
||||
export default {
|
||||
id:ID,name:'Hermes Canopy',version:'0.1.0',defaultEnabled:false,
|
||||
id:ID,name:'Hermes Canopy',version:'0.1.1',defaultEnabled:false,
|
||||
description:'Ein Baum für Bots und ihre bestehenden Unterhaltungen auf einem Gateway.',
|
||||
register(ctx) {
|
||||
ctx.register({id:'overview',area:'panes',title:'Übersicht',order:900,
|
||||
|
||||
Reference in new issue
Block a user