mirror of
https://github.com/esiur/esiur-js.git
synced 2026-03-18 15:30:38 +00:00
TemplateType.Wrapper Removed
This commit is contained in:
@@ -2584,8 +2584,8 @@ export default class DistributedConnection extends IStore {
|
||||
|
||||
if (resource == null)
|
||||
{
|
||||
template = Warehouse.getTemplateByClassId(classId, TemplateType.Wrapper);
|
||||
if (template?.definedType != null)
|
||||
template = Warehouse.getTemplateByClassId(classId, TemplateType.Resource);
|
||||
if (template?.definedType != null && template?.isWrapper)
|
||||
dr = new template.definedType(self, id, rt[1], rt[2]);
|
||||
else
|
||||
dr = new DistributedResource(self, id, rt[1], rt[2]);
|
||||
|
||||
Reference in New Issue
Block a user