Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-web
ensembl-client
Commits
822e96af
Unverified
Commit
822e96af
authored
Aug 20, 2021
by
Andrey Azov
Committed by
GitHub
Aug 20, 2021
Browse files
Show the conversation icon in production (#556)
to be able to access Contact Us form
parent
8c8271e0
Pipeline
#186310
passed with stages
in 9 minutes and 22 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
src/ensembl/src/shared/components/communication-framework/ConversationIcon.tsx
...d/components/communication-framework/ConversationIcon.tsx
+0
-6
No files found.
src/ensembl/src/shared/components/communication-framework/ConversationIcon.tsx
View file @
822e96af
...
@@ -21,17 +21,11 @@ import { toggleCommunicationPanel } from 'src/shared/state/communication/communi
...
@@ -21,17 +21,11 @@ import { toggleCommunicationPanel } from 'src/shared/state/communication/communi
import
{
ReactComponent
as
ConversationImageIcon
}
from
'
static/img/shared/icon_conversation.svg
'
;
import
{
ReactComponent
as
ConversationImageIcon
}
from
'
static/img/shared/icon_conversation.svg
'
;
import
CommunicationPanel
from
'
ensemblRoot/src/shared/components/communication-framework/CommunicationPanel
'
;
import
CommunicationPanel
from
'
ensemblRoot/src/shared/components/communication-framework/CommunicationPanel
'
;
import
{
Environment
,
isEnvironment
}
from
'
src/shared/helpers/environment
'
;
import
styles
from
'
./ConversationIcon.scss
'
;
import
styles
from
'
./ConversationIcon.scss
'
;
const
ConversationIcon
=
()
=>
{
const
ConversationIcon
=
()
=>
{
const
dispatch
=
useDispatch
();
const
dispatch
=
useDispatch
();
if
(
isEnvironment
([
Environment
.
PRODUCTION
]))
{
return
null
;
}
const
onClick
=
()
=>
{
const
onClick
=
()
=>
{
dispatch
(
toggleCommunicationPanel
());
dispatch
(
toggleCommunicationPanel
());
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment