make Graphics work again

as base for Mathis work
This commit is contained in:
l_samenv
2024-07-11 10:05:17 +02:00
parent 3fd8bc6bf3
commit 91be383803
7 changed files with 123 additions and 112 deletions

View File

@ -41,9 +41,9 @@ function createContent(s, message) {
for (var i = 0; i < message.components.length; i++) {
var component = message.components[i];
if (!("title" in component))
component.title = name;
component.title = component.name;
if (!("command" in component))
component.command = name;
component.command = component.name;
createFunc = window['create_' + component.type + '_row']
if (createFunc)
content.appendChild(createFunc(s, component))