Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
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
02fafbf4
Verified
Commit
02fafbf4
authored
Aug 25, 2020
by
Mehdi Baaboura
Browse files
Removed account switcher from mobile sider
parent
d93fd151
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/Mobile/MobileSider.tsx
assets/ts/Parts/Header/Mobile/MobileSider.tsx
+2
-3
No files found.
assets/ts/Parts/Header/Mobile/MobileSider.tsx
View file @
02fafbf4
...
...
@@ -29,7 +29,6 @@ import Auth from "../../../Auth/Auth";
import
User
from
"
../../../api/src/Entity/User
"
;
import
{
Link
}
from
"
react-router-dom
"
;
import
VerifiedBadge
from
"
../../../Component/VerifiedBadge
"
;
import
AccountSwitcher
from
"
../../../Component/AccountSwitcher
"
;
import
__
from
"
../../../i18n/i18n
"
;
import
PrivacyBadge
from
"
../../../Component/PrivacyBadge
"
;
import
ClickEvent
=
JQuery
.
ClickEvent
;
...
...
@@ -124,7 +123,7 @@ export default class MobileSider extends Component<{
<
span
className
=
"nav-text"
>
{
__
(
"
navigation.account.settings
"
)
}
</
span
>
</
a
>
</
Menu
.
Item
>,
<
Menu
.
Item
key
=
"3"
>
/*
<Menu.Item key="3">
<Link to={"#"} onClick={(e) => {
e.preventDefault();
AccountSwitcher.open();
...
...
@@ -133,7 +132,7 @@ export default class MobileSider extends Component<{
<i className={"fas fa-user-friends iconMargin-10"}/>
<span className="nav-text">{__("navigation.account.switch")}</span>
</Link>
</
Menu
.
Item
>,
</Menu.Item>,
*/
<
Menu
.
Item
key
=
"4"
>
<
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