From 2ed9460f210a1a24ab167383ac0b88bc449d38f3 Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Mon, 24 Mar 2025 22:42:47 +0100
Subject: [PATCH] linting
---
frontend/src/components/Overview/CardUserSearch.vue | 4 ++--
frontend/src/config/index.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/frontend/src/components/Overview/CardUserSearch.vue b/frontend/src/components/Overview/CardUserSearch.vue
index 4664d40d7..8b52adbc0 100644
--- a/frontend/src/components/Overview/CardUserSearch.vue
+++ b/frontend/src/components/Overview/CardUserSearch.vue
@@ -66,9 +66,9 @@ onResult(({ data }) => {
onError(() => {
if (gmsActive && gmsUserLocationExists) {
toastError('authenticateGmsUserSearch failed!')
- }
- else if (gmsActive && !gmsUserLocationExists) {
+ } else if (gmsActive && !gmsUserLocationExists) {
// toastError('capture your location first!')
+ // eslint-disable-next-line no-console
console.log('capture your location first...')
}
})
diff --git a/frontend/src/config/index.js b/frontend/src/config/index.js
index 1f9ae2082..78bc49c72 100644
--- a/frontend/src/config/index.js
+++ b/frontend/src/config/index.js
@@ -38,8 +38,8 @@ if (process.env.FRONTEND_HOSTING === 'nodejs') {
// version.FRONTEND_MODULE_PORT
const features = {
- GMS_ACTIVE: process.env.GMS_ACTIVE === 'true' ? true : false,
- HUMHUB_ACTIVE: process.env.HUMHUB_ACTIVE === 'true' ? true : false,
+ GMS_ACTIVE: process.env.GMS_ACTIVE === 'true',
+ HUMHUB_ACTIVE: process.env.HUMHUB_ACTIVE === 'true',
}
const environment = {