From 9a278a686913477090634ac471e7465e2f60568e Mon Sep 17 00:00:00 2001
From: ogerly
Date: Tue, 5 Oct 2021 14:13:09 +0200
Subject: [PATCH] final step seperated communities fix lint, fix locales
---
backend/src/config/index.ts | 2 +-
frontend/src/views/Pages/RegisterCommunity.spec.js | 2 +-
frontend/src/views/Pages/RegisterCommunity.vue | 2 +-
frontend/src/views/Pages/RegisterSelectCommunity.vue | 1 -
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts
index a580c7d4b..424d90185 100644
--- a/backend/src/config/index.ts
+++ b/backend/src/config/index.ts
@@ -32,7 +32,7 @@ const klicktipp = {
const community = {
COMMUNITY_NAME: process.env.COMMUNITY_NAME || 'Gradido Entwicklung',
- COMMUNITY_URL: process.env.COMMUNITY_URL || 'https://gradido.net/',
+ COMMUNITY_URL: process.env.COMMUNITY_URL || 'http://localhost:3000/vue/',
COMMUNITY_REGISTER_URL:
process.env.COMMUNITY_REGISTER_URL || 'http://localhost:3000/vue/register',
COMMUNITY_DESCRIPTION:
diff --git a/frontend/src/views/Pages/RegisterCommunity.spec.js b/frontend/src/views/Pages/RegisterCommunity.spec.js
index 5740815aa..f015a4e3a 100644
--- a/frontend/src/views/Pages/RegisterCommunity.spec.js
+++ b/frontend/src/views/Pages/RegisterCommunity.spec.js
@@ -49,7 +49,7 @@ describe('RegisterCommunity', () => {
it('has a current community location', () => {
expect(wrapper.find('.header p.community-location').text()).toBe(
- 'community.location http://localhost:3000/vue/',
+ 'http://localhost:3000/vue/',
)
})
})
diff --git a/frontend/src/views/Pages/RegisterCommunity.vue b/frontend/src/views/Pages/RegisterCommunity.vue
index ea25664bd..ca1305e87 100644
--- a/frontend/src/views/Pages/RegisterCommunity.vue
+++ b/frontend/src/views/Pages/RegisterCommunity.vue
@@ -11,7 +11,7 @@
{{ $store.state.community.description }}
diff --git a/frontend/src/views/Pages/RegisterSelectCommunity.vue b/frontend/src/views/Pages/RegisterSelectCommunity.vue
index 482a5725e..1c4c5b990 100644
--- a/frontend/src/views/Pages/RegisterSelectCommunity.vue
+++ b/frontend/src/views/Pages/RegisterSelectCommunity.vue
@@ -30,7 +30,6 @@
{{ community.description }}
- {{ $t('community.location') }}
{{ community.url }}