From 692f570258d0c1d20f38ba894c824e95dd0abb25 Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Thu, 9 May 2024 16:49:24 +0530 Subject: [PATCH 1/2] [WEB-1134] fix: module link mutation issue (#4413) * fix module link mutation issue * reference moduleDetails?.link_module inside a prop of Disclosure instead of in a div --- web/components/modules/sidebar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/components/modules/sidebar.tsx b/web/components/modules/sidebar.tsx index 2e98a38c2f..d2c847eccd 100644 --- a/web/components/modules/sidebar.tsx +++ b/web/components/modules/sidebar.tsx @@ -644,7 +644,8 @@ export const ModuleDetailsSidebar: React.FC = observer((props) => {
- + {/* Accessing link outside the disclosure as mobx is not considering the children inside Disclosure as part of the component hence not observing their state change*/} + {({ open }) => (
From 87d59c1e4cf425c77d33bf3e6d14c19688f72ebf Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Thu, 9 May 2024 16:58:22 +0530 Subject: [PATCH 2/2] fix: removing mongo from docker compose selfhost --- deploy/selfhost/docker-compose.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/deploy/selfhost/docker-compose.yml b/deploy/selfhost/docker-compose.yml index cbb4e02b61..5b6ae2ee82 100644 --- a/deploy/selfhost/docker-compose.yml +++ b/deploy/selfhost/docker-compose.yml @@ -33,9 +33,6 @@ x-app-env: &app-env - MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-"secret-key"} - BUCKET_NAME=${BUCKET_NAME:-uploads} - FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880} - - MONGO_DB_URL=${MONGO_DB_URL:-"mongodb://plane-mongodb:27017/"} - - MONGO_INITDB_ROOT_USERNAME=${MONGO_INITDB_ROOT_USERNAME:-plane} - - MONGO_INITDB_ROOT_PASSWORD=${MONGO_INITDB_ROOT_PASSWORD:-plane} services: web: @@ -62,13 +59,13 @@ services: - api - worker - web - + admin: <<: *app-env image: ${DOCKERHUB_USER:-makeplane}/plane-space:${APP_RELEASE:-stable} pull_policy: ${PULL_POLICY:-always} restart: unless-stopped - command: node admin/server.js admin + command: node admin/server.js admin deploy: replicas: ${ADMIN_REPLICAS:-1} depends_on: @@ -137,15 +134,6 @@ services: command: postgres -c 'max_connections=1000' volumes: - pgdata:/var/lib/postgresql/data - - plane-mongodb: - <<: *app-env - image: mongo:7.0.5 - pull_policy: if_not_present - restart: unless-stopped - volumes: - - mongodbdata:/data/db - plane-redis: <<: *app-env image: redis:7.2.4-alpine @@ -179,7 +167,6 @@ volumes: pgdata: redisdata: uploads: - mongodbdata: logs_api: logs_worker: logs_beat-worker: