Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Gigadrive
qpost
qpost
Commits
760ca41f
Verified
Commit
760ca41f
authored
Aug 24, 2020
by
Mehdi Baaboura
Browse files
Temporarily disabled account switcher
parent
5444ac18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
assets/ts/Parts/Header/Desktop/DesktopHeaderAccountDropdown.tsx
.../ts/Parts/Header/Desktop/DesktopHeaderAccountDropdown.tsx
+2
-3
No files found.
assets/ts/Parts/Header/Desktop/DesktopHeaderAccountDropdown.tsx
View file @
760ca41f
...
...
@@ -21,7 +21,6 @@ import React, {Component} from "react";
import
DesktopHeader
from
"
./DesktopHeader
"
;
import
{
Link
}
from
"
react-router-dom
"
;
import
Auth
from
"
../../../Auth/Auth
"
;
import
AccountSwitcher
from
"
../../../Component/AccountSwitcher
"
;
import
__
from
"
../../../i18n/i18n
"
;
export
default
class
DesktopHeaderAccountDropdown
extends
Component
<
{
...
...
@@ -71,14 +70,14 @@ export default class DesktopHeaderAccountDropdown extends Component<{
<
i
className
=
"fas fa-wrench iconMargin-10"
/>
{
__
(
"
navigation.account.settings
"
)
}
</
a
>
<
Link
to
=
{
"
#
"
}
onClick
=
{
(
e
)
=>
{
{
/*
<Link to={"#"} onClick={(e) => {
e.preventDefault();
DesktopHeaderAccountDropdown.close(this.props.parent);
AccountSwitcher.open();
}}>
<i className={"fas fa-user-friends iconMargin-10"}/>{__("navigation.account.switch")}
</
Link
>
</Link>
*/
}
<
Link
to
=
{
"
#
"
}
onClick
=
{
(
e
)
=>
{
e
.
preventDefault
();
...
...
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