Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
bf6bbfca
Commit
bf6bbfca
authored
3 years ago
by
Tainan Felipe
Browse files
Options
Downloads
Patches
Plain Diff
Add conditional to don't show dropdown when no opition avaible
parent
25bf0096
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bigbluebutton-html5/imports/ui/components/chat/chat-dropdown/component.jsx
+5
-2
5 additions, 2 deletions
...l5/imports/ui/components/chat/chat-dropdown/component.jsx
bigbluebutton-html5/private/config/settings.yml
+1
-1
1 addition, 1 deletion
bigbluebutton-html5/private/config/settings.yml
with
6 additions
and
3 deletions
bigbluebutton-html5/imports/ui/components/chat/chat-dropdown/component.jsx
+
5
−
2
View file @
bf6bbfca
...
...
@@ -144,11 +144,14 @@ class ChatDropdown extends PureComponent {
}
render
()
{
const
{
intl
}
=
this
.
props
;
const
{
intl
,
amIModerator
,
}
=
this
.
props
;
const
{
isSettingOpen
}
=
this
.
state
;
const
availableActions
=
this
.
getAvailableActions
();
if
(
!
amIModerator
&&
!
ENABLE_SAVE_AND_COPY_PUBLIC_CHAT
)
return
null
;
return
(
<
Dropdown
isOpen
=
{
isSettingOpen
}
...
...
This diff is collapsed.
Click to expand it.
bigbluebutton-html5/private/config/settings.yml
+
1
−
1
View file @
bf6bbfca
...
...
@@ -396,7 +396,7 @@ public:
enabled
:
true
itemsPerPage
:
100
timeBetweenFetchs
:
1000
enableSaveAndCopyPublicChat
:
fals
e
enableSaveAndCopyPublicChat
:
tru
e
bufferChatInsertsMs
:
0
startClosed
:
false
min_message_length
:
1
...
...
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