Fixes component manager action typo
This commit is contained in:
@@ -497,8 +497,9 @@ class ComponentManager {
|
||||
|
||||
this.syncManager.sync("handleCreateItemMessage");
|
||||
|
||||
// "create-item" or "create-items" are possible messages handled here
|
||||
let reply =
|
||||
message.action == "save-item" ?
|
||||
message.action == "create-item" ?
|
||||
{item: this.jsonForItem(processedItems[0], component)}
|
||||
:
|
||||
{items: processedItems.map((item) => {return this.jsonForItem(item, component)})}
|
||||
|
||||
7096
package-lock.json
generated
7096
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user