Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
88833b24
Unverified
Commit
88833b24
authored
1 year ago
by
Murtaza Patrawala
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: Google Maps config settings not visible (#31002)
parent
ec5005fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.changeset/honest-socks-sniff.md
+5
-0
5 additions, 0 deletions
.changeset/honest-socks-sniff.md
apps/meteor/server/settings/message.ts
+7
-7
7 additions, 7 deletions
apps/meteor/server/settings/message.ts
with
12 additions
and
7 deletions
.changeset/honest-socks-sniff.md
0 → 100644
+
5
−
0
View file @
88833b24
---
"
@rocket.chat/meteor"
:
patch
---
fix: Google Maps and Katex config settings were not visible
This diff is collapsed.
Click to expand it.
apps/meteor/server/settings/message.ts
+
7
−
7
View file @
88833b24
...
...
@@ -337,23 +337,23 @@ export const createMessageSettings = () =>
public
:
true
,
});
await
this
.
section
(
'
Katex
'
,
async
()
=>
{
await
this
.
section
(
'
Katex
'
,
async
function
()
{
const
enableQuery
=
{
_id
:
'
Katex_Enabled
'
,
value
:
true
,
};
await
settingsRegistry
.
add
(
'
Katex_Enabled
'
,
true
,
{
await
this
.
add
(
'
Katex_Enabled
'
,
true
,
{
type
:
'
boolean
'
,
public
:
true
,
i18nDescription
:
'
Katex_Enabled_Description
'
,
});
await
settingsRegistry
.
add
(
'
Katex_Parenthesis_Syntax
'
,
true
,
{
await
this
.
add
(
'
Katex_Parenthesis_Syntax
'
,
true
,
{
type
:
'
boolean
'
,
public
:
true
,
enableQuery
,
i18nDescription
:
'
Katex_Parenthesis_Syntax_Description
'
,
});
await
settingsRegistry
.
add
(
'
Katex_Dollar_Syntax
'
,
false
,
{
await
this
.
add
(
'
Katex_Dollar_Syntax
'
,
false
,
{
type
:
'
boolean
'
,
public
:
true
,
enableQuery
,
...
...
@@ -361,14 +361,14 @@ export const createMessageSettings = () =>
});
});
await
this
.
section
(
'
Google Maps
'
,
async
()
=>
{
await
settingsRegistry
.
add
(
'
MapView_Enabled
'
,
false
,
{
await
this
.
section
(
'
Google Maps
'
,
async
function
()
{
await
this
.
add
(
'
MapView_Enabled
'
,
false
,
{
type
:
'
boolean
'
,
public
:
true
,
i18nLabel
:
'
MapView_Enabled
'
,
i18nDescription
:
'
MapView_Enabled_Description
'
,
});
await
settingsRegistry
.
add
(
'
MapView_GMapsAPIKey
'
,
''
,
{
await
this
.
add
(
'
MapView_GMapsAPIKey
'
,
''
,
{
type
:
'
string
'
,
public
:
true
,
i18nLabel
:
'
MapView_GMapsAPIKey
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment