@icvdeveloper/common-module 0.0.60 → 0.0.62
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.
- package/dist/module.json +1 -1
- package/dist/runtime/plugin.mjs +4 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -27,13 +27,15 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
27
27
|
// fetch portal config then increment loading indicator
|
|
28
28
|
await portalStore.getPortal().then(() => NProgress.inc()),
|
|
29
29
|
// wait for portal config request to complete, then fetch conferences
|
|
30
|
-
await conferencesStore.getConferences().then(() => NProgress.inc())
|
|
30
|
+
await conferencesStore.getConferences().then(() => NProgress.inc()),
|
|
31
|
+
// wait for get conferences to complete, then get current conference data.
|
|
32
|
+
await conferencesStore.getCurrentConference().then(() => NProgress.inc())
|
|
31
33
|
]);
|
|
32
34
|
}
|
|
33
35
|
if (to.name == "events-id") {
|
|
34
36
|
await conferencesStore.getSelectedConference(to.params.id).then(() => NProgress.inc());
|
|
35
37
|
} else {
|
|
36
|
-
|
|
38
|
+
conferencesStore.selectedConference = null;
|
|
37
39
|
}
|
|
38
40
|
});
|
|
39
41
|
nuxtApp.$router.afterEach(() => {
|