wip
This commit is contained in:
@@ -53,14 +53,14 @@ class ComponentsStore {
|
||||
);
|
||||
}
|
||||
|
||||
addComponent(componentsId: string, data:Record<string, unknown>) {
|
||||
addComponent(widgetsId: string, data:Record<string, unknown>) {
|
||||
this.components.push({
|
||||
id: String(this.components.length),
|
||||
x: 0,
|
||||
y: 0,
|
||||
width: 0,
|
||||
height: 0,
|
||||
componentsId,
|
||||
widgetsId,
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user