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
@@ -9,14 +9,6 @@ BridgeElement.prototype.getButton = function() {
}
}
BridgeElement.prototype.getStamp = function() {
return {
title: this.title,
date: this.getDate(),
closedBy: this.getClosedBy()
}
}
BridgeElement.prototype.getIcon = function() {
const url = this.bridgeAttribute("icon-url")
@@ -27,14 +19,6 @@ BridgeElement.prototype.getIcon = function() {
return null
}
BridgeElement.prototype.getDate = function() {
return this.bridgeAttribute("date") ?? null
}
BridgeElement.prototype.getClosedBy = function() {
return this.bridgeAttribute("closed-by") ?? null
}
BridgeElement.prototype.getDisplayTitle = function() {
return !!this.bridgeAttribute("display-title")
}