Skip to content

Commit

Permalink
chore: bump version to 2023.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBastin committed May 11, 2023
1 parent 4a0205e commit d6c8400
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/hoppscotch-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hoppscotch-backend",
"version": "2023.4.2",
"version": "2023.4.3",
"description": "",
"author": "",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/hoppscotch-common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hoppscotch/common",
"private": true,
"version": "2023.4.2",
"version": "2023.4.3",
"scripts": {
"dev": "pnpm exec npm-run-all -p -l dev:*",
"dev:vite": "vite",
Expand Down
16 changes: 6 additions & 10 deletions packages/hoppscotch-common/src/components/environments/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,12 @@ const workspace = useReadonlyStream(workspaceStatus$, { type: "personal" })
// Used to switch environment type and team when user switch workspace in the global workspace switcher
// Check if there is a teamID in the workspace, if yes, switch to team environment and select the team
// If there is no teamID, switch to my environment
watch(workspace, (newWorkspace, oldWorkspace) => {
// If we are switching into personal from outside
if (newWorkspace.type === "personal" && oldWorkspace.type !== "personal") {
// If the selected environment is not a my environment, turn off the env
if (selectedEnvironmentIndex.value.type !== "MY_ENV") {
switchToMyEnvironments()
setSelectedEnvironmentIndex({
type: "NO_ENV_SELECTED",
})
}
watch(workspace, (newWorkspace) => {
if (newWorkspace.type === "personal") {
switchToMyEnvironments()
setSelectedEnvironmentIndex({
type: "NO_ENV_SELECTED",
})
} else if (newWorkspace.type === "team") {
const team = myTeams.value?.find((t) => t.id === newWorkspace.teamID)
updateSelectedTeam(team)
Expand Down
2 changes: 1 addition & 1 deletion packages/hoppscotch-selfhost-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hoppscotch/selfhost-web",
"private": true,
"version": "2023.4.2",
"version": "2023.4.3",
"type": "module",
"scripts": {
"dev:vite": "vite",
Expand Down
2 changes: 1 addition & 1 deletion packages/hoppscotch-sh-admin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hoppscotch-sh-admin",
"private": true,
"version": "2023.4.2",
"version": "2023.4.3",
"type": "module",
"scripts": {
"dev": "pnpm exec npm-run-all -p -l dev:*",
Expand Down

0 comments on commit d6c8400

Please sign in to comment.