|
@@ -12,7 +12,6 @@ export class Store {
|
12
|
12
|
return _.get(this.propsById, componentId, {});
|
13
|
13
|
}
|
14
|
14
|
|
15
|
|
-
|
16
|
15
|
setComponentClassForName(componentName: string | number, ComponentClass) {
|
17
|
16
|
_.set(this.componentsByName, componentName.toString(), ComponentClass);
|
18
|
17
|
}
|
|
@@ -20,7 +19,7 @@ export class Store {
|
20
|
19
|
getComponentClassForName(componentName: string | number) {
|
21
|
20
|
return _.get(this.componentsByName, componentName.toString());
|
22
|
21
|
}
|
23
|
|
-
|
|
22
|
+
|
24
|
23
|
cleanId(id: string) {
|
25
|
24
|
_.unset(this.propsById, id);
|
26
|
25
|
}
|