Change date and closedBy properties for a more generic description

This commit is contained in:
Adrien Maston
2026-03-17 11:09:37 +01:00
parent 7974629e20
commit 0b29a67e17
3 changed files with 11 additions and 21 deletions
@@ -14,6 +14,14 @@ export default class extends BridgeComponent {
}
notifyBridgeOfConnect() {
this.send("connect", this.bridgeElement.getStamp())
this.send("connect", this.#data)
}
get #data() {
const bridgeElement = this.bridgeElement
return {
title: bridgeElement.title,
description: bridgeElement.bridgeAttribute("description") ?? null
}
}
}