Page MenuHomePhabricator

D13447.id44536.diff
No OneTemporary

D13447.id44536.diff

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

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)

Event Timeline