slicejs-web-framework 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,17 +95,18 @@ export default class Router {
|
|
|
95
95
|
existingComponent.props = { ...existingComponent.props, ...params };
|
|
96
96
|
await existingComponent.update();
|
|
97
97
|
}
|
|
98
|
+
await this.renderRoutesComponentsInPage();
|
|
98
99
|
targetElement.appendChild(existingComponent);
|
|
99
100
|
} else {
|
|
100
101
|
const component = await slice.build(componentName, {
|
|
101
102
|
params,
|
|
102
103
|
sliceId: sliceId,
|
|
103
104
|
});
|
|
105
|
+
await this.renderRoutesComponentsInPage();
|
|
104
106
|
targetElement.innerHTML = '';
|
|
105
107
|
targetElement.appendChild(component);
|
|
106
108
|
}
|
|
107
109
|
|
|
108
|
-
await this.renderRoutesComponentsInPage();
|
|
109
110
|
|
|
110
111
|
|
|
111
112
|
if (slice.loading) {
|