forked from MapComplete/MapComplete
Refactoring: remove AsMarkdown() from the old BaseUIElement
This commit is contained in:
parent
54265ba0c6
commit
fb48c57e42
5 changed files with 2 additions and 49 deletions
|
|
@ -18,14 +18,6 @@ export default class Combine extends BaseUIElement {
|
|||
})
|
||||
}
|
||||
|
||||
AsMarkdown(): string {
|
||||
let sep = " "
|
||||
if (this.HasClass("flex-col")) {
|
||||
sep = "\n\n"
|
||||
}
|
||||
return this.uiElements.map((el) => el.AsMarkdown()).join(sep)
|
||||
}
|
||||
|
||||
Destroy() {
|
||||
super.Destroy()
|
||||
for (const uiElement of this.uiElements) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue