Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3299737
D13447.id44536.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
873 B
Referenced Files
None
Subscribers
None
D13447.id44536.diff
View Options
diff --git a/lib/shared/dm-ops/create-thread-spec.js b/lib/shared/dm-ops/create-thread-spec.js
--- a/lib/shared/dm-ops/create-thread-spec.js
+++ b/lib/shared/dm-ops/create-thread-spec.js
@@ -119,7 +119,7 @@
repliesCount: repliesCount ?? 0,
name,
avatar,
- description,
+ description: description ?? '',
containingThreadID,
timestamps,
};
diff --git a/native/chat/settings/thread-settings-description.react.js b/native/chat/settings/thread-settings-description.react.js
--- a/native/chat/settings/thread-settings-description.react.js
+++ b/native/chat/settings/thread-settings-description.react.js
@@ -228,7 +228,7 @@
};
onPressEdit = () => {
- this.props.setDescriptionEditValue(this.props.threadInfo.description);
+ this.props.setDescriptionEditValue(this.props.threadInfo.description ?? '');
};
onSubmit = () => {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 3:10 PM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2535125
Default Alt Text
D13447.id44536.diff (873 B)
Attached To
Mode
D13447: [lib] fix changing thread description on native for thick threads
Attached
Detach File
Event Timeline
Log In to Comment