diff --git a/packages/hoppscotch-common/src/components/new-collections/rest/index.vue b/packages/hoppscotch-common/src/components/new-collections/rest/index.vue index 250355af0..11ed484b4 100644 --- a/packages/hoppscotch-common/src/components/new-collections/rest/index.vue +++ b/packages/hoppscotch-common/src/components/new-collections/rest/index.vue @@ -224,7 +224,6 @@ const showModalEditProperties = ref(false) const showConfirmModal = ref(false) const editingCollectionIndexPath = ref("") -const editingChildCollectionIndexPath = ref("") const editingRootCollectionName = ref("") const editingChildCollectionName = ref("") const editingRequestName = ref("") @@ -584,14 +583,14 @@ const editChildCollection = (payload: { }) => { const { collectionIndexPath, collectionName } = payload - editingChildCollectionIndexPath.value = collectionIndexPath + editingCollectionIndexPath.value = collectionIndexPath editingChildCollectionName.value = collectionName displayModalEditChildCollection(true) } const onEditChildCollection = async (newChildCollectionName: string) => { - const collectionIndexPath = editingChildCollectionIndexPath.value + const collectionIndexPath = editingCollectionIndexPath.value const collectionHandleResult = await workspaceService.getCollectionHandle( props.workspaceHandle, @@ -1131,6 +1130,10 @@ const resolveConfirmModal = (title: string | null) => { const resetSelectedData = () => { editingCollectionIndexPath.value = "" + editingRootCollectionName.value = "" + editingChildCollectionName.value = "" + editingRequestName.value = "" + editingRequestIndexPath.value = "" } /** diff --git a/packages/hoppscotch-common/src/index.ts b/packages/hoppscotch-common/src/index.ts index 3a084c7ea..ec386200c 100644 --- a/packages/hoppscotch-common/src/index.ts +++ b/packages/hoppscotch-common/src/index.ts @@ -10,9 +10,6 @@ import { TestWorkspaceProviderService } from "./services/new-workspace/providers import { PersistenceService } from "./services/persistence" -import "@fontsource-variable/inter" -import "@fontsource-variable/material-symbols-rounded" -import "@fontsource-variable/roboto-mono" import "nprogress/nprogress.css" import "../assets/scss/styles.scss" import "../assets/scss/tailwind.scss"