Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33037587
D8854.1768410811.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8854.1768410811.diff
View Options
diff --git a/web/settings/account-settings.react.js b/web/settings/account-settings.react.js
--- a/web/settings/account-settings.react.js
+++ b/web/settings/account-settings.react.js
@@ -18,7 +18,6 @@
import BlockListModal from './relationship/block-list-modal.react.js';
import FriendListModal from './relationship/friend-list-modal.react.js';
import EditUserAvatar from '../avatars/edit-user-avatar.react.js';
-import UserAvatar from '../avatars/user-avatar.react.js';
import Button from '../components/button.react.js';
import { useSelector } from '../redux/redux-utils.js';
@@ -77,18 +76,10 @@
);
}
- const editingAvatarsOnWebEnabled = false;
- let avatarNode;
- if (editingAvatarsOnWebEnabled) {
- avatarNode = <EditUserAvatar userID={currentUserInfo.id} />;
- } else {
- avatarNode = <UserAvatar size="profile" userID={currentUserInfo.id} />;
- }
-
return (
<div className={css.container}>
<h4 className={css.header}>My Account</h4>
- {avatarNode}
+ <EditUserAvatar userID={currentUserInfo.id} />
<div className={css.content}>
<ul>
<li>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 5:13 PM (2 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5933089
Default Alt Text
D8854.1768410811.diff (1 KB)
Attached To
Mode
D8854: [web] "Flip the switch" to enable editing of user avatars on `web`
Attached
Detach File
Event Timeline
Log In to Comment