From cf38ecb4fd1ebf334e4d6e218b94613abcef72d9 Mon Sep 17 00:00:00 2001 From: jobofos <56141710+jobofos@users.noreply.github.com> Date: Wed, 6 May 2020 13:52:00 +1000 Subject: [PATCH] Fix for internal proxy Internal proxies on submodules were generating the namespaced path twice (eg user/user/setttings). This resolves this. --- js/proxy.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/proxy.js b/js/proxy.js index d8cff80..0d56ad9 100644 --- a/js/proxy.js +++ b/js/proxy.js @@ -195,7 +195,6 @@ function createSubModuleProxy($store, cls, proxy, modules) { var store = cls.prototype.__store_cache__ || $store; for (var field in modules) { var subModuleClass = cls.prototype.__submodules_cache__[field]; - subModuleClass.prototype.__namespacedPath__ = cls.prototype.__namespacedPath__ + "/" + subModuleClass.prototype.__namespacedPath__; proxy[field] = createProxy(store, subModuleClass); } }