@saooti/octopus-sdk 38.1.5 → 38.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "38.1.5",
3
+ "version": "38.1.6",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -152,7 +152,8 @@ export default defineComponent({
152
152
  async logoutFunction(){
153
153
  try {
154
154
  await crudApi.postData(4, '/logout', undefined);
155
- this.$router.push('/');
155
+ await this.$router.push({ path: '/' });
156
+ location.reload();
156
157
  } catch (error) {
157
158
  //Do nothing
158
159
  }
@@ -60,7 +60,8 @@ export default defineComponent({
60
60
  async logoutFunction(){
61
61
  try {
62
62
  await crudApi.postData(4, '/logout', undefined);
63
- this.$router.push('/');
63
+ await this.$router.push({ path: '/' });
64
+ location.reload();
64
65
  } catch (error) {
65
66
  //Do nothing
66
67
  }