Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Update team_utils imports

Andrew Bastin531a9c0bc89f
diff --git a/components/collections/Add.vue b/components/collections/Add.vue
index 9d82dcdfc..f44bbcefc 100644
--- a/components/collections/Add.vue
+++ b/components/collections/Add.vue
@@ -39,7 +39,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/collections/Edit.vue b/components/collections/Edit.vue
index a73bb3edf..c8769d6e2 100644
--- a/components/collections/Edit.vue
+++ b/components/collections/Edit.vue
@@ -39,7 +39,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/collections/EditFolder.vue b/components/collections/EditFolder.vue
index 70fb412ab..ee2f45c04 100644
--- a/components/collections/EditFolder.vue
+++ b/components/collections/EditFolder.vue
@@ -39,7 +39,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/collections/EditRequest.vue b/components/collections/EditRequest.vue
index 2830bc6c2..d7c8e2a29 100644
--- a/components/collections/EditRequest.vue
+++ b/components/collections/EditRequest.vue
@@ -39,7 +39,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/collections/Folder.vue b/components/collections/Folder.vue
index 5ab1b3009..3abf2adea 100644
--- a/components/collections/Folder.vue
+++ b/components/collections/Folder.vue
@@ -173,7 +173,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
import gql from "graphql-tag"
export default {
diff --git a/components/collections/ImportExport.vue b/components/collections/ImportExport.vue
index 5018d83d0..81b9d5517 100644
--- a/components/collections/ImportExport.vue
+++ b/components/collections/ImportExport.vue
@@ -166,7 +166,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
data() {
diff --git a/components/collections/Request.vue b/components/collections/Request.vue
index 8fadb0c38..560e6ee56 100644
--- a/components/collections/Request.vue
+++ b/components/collections/Request.vue
@@ -62,7 +62,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/collections/SaveRequest.vue b/components/collections/SaveRequest.vue
index 27cb4808f..ba70a4a96 100644
--- a/components/collections/SaveRequest.vue
+++ b/components/collections/SaveRequest.vue
@@ -40,7 +40,7 @@
<script>
import { fb } from "~/helpers/fb"
import { getSettingSubject } from "~/newstore/settings"
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/teams/Add.vue b/components/teams/Add.vue
index 9c55842a8..28a987d29 100644
--- a/components/teams/Add.vue
+++ b/components/teams/Add.vue
@@ -43,7 +43,7 @@
</template>
<script>
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {
diff --git a/components/teams/Edit.vue b/components/teams/Edit.vue
index 9bb40fd30..f80fda497 100644
--- a/components/teams/Edit.vue
+++ b/components/teams/Edit.vue
@@ -161,7 +161,7 @@
</template>
<script>
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
import gql from "graphql-tag"
export default {
diff --git a/components/teams/Team.vue b/components/teams/Team.vue
index 74aa4d257..7ef6dbc32 100644
--- a/components/teams/Team.vue
+++ b/components/teams/Team.vue
@@ -60,7 +60,7 @@ ul li {
</style>
<script>
-import team_utils from "~/helpers/teams/utils"
+import * as team_utils from "~/helpers/teams/utils"
export default {
props: {