Compare commits

..

4 Commits

Author SHA1 Message Date
Balu Babu
404b93d551 chore: fixed mistake in path in comment 2023-05-22 19:35:29 +05:30
Balu Babu
20aea2a37a chore: added comments to describe and commented out the volumes section in the docker-compose file 2023-05-22 19:34:31 +05:30
Balu Babu
dea32e54c9 feat: added volumes to docker-compose for hoppscotch-db 2023-05-22 19:08:34 +05:30
Andrew Bastin
d6c8400116 chore: bump version to 2023.4.3 2023-05-11 17:05:28 +05:30
6 changed files with 14 additions and 14 deletions

View File

@@ -67,5 +67,9 @@ services:
# NOTE: Please UPDATE THIS PASSWORD!
POSTGRES_PASSWORD: testpass
POSTGRES_DB: hoppscotch
# NOTE: Please UNCOMMENT and UPDATE THE Path
# volumes:
# - <custom_path>:/var/lib/postgresql/data
# Replace <custom_path> with path on your device

View File

@@ -1,6 +1,6 @@
{
"name": "hoppscotch-backend",
"version": "2023.4.2",
"version": "2023.4.3",
"description": "",
"author": "",
"private": true,

View File

@@ -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",

View File

@@ -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)

View File

@@ -1,7 +1,7 @@
{
"name": "@hoppscotch/selfhost-web",
"private": true,
"version": "2023.4.2",
"version": "2023.4.3",
"type": "module",
"scripts": {
"dev:vite": "vite",

View File

@@ -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:*",