Skip to content

Commit

Permalink
fix: jira NMS-17313
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Nov 15, 2023
1 parent f693261 commit adf935e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default class ChannelMediaRelay
<>
<AgoraTextInput
onChangeText={(text) => {
this.setState({ destChannelNames: text.split(' ') });
this.setState({ destChannelNames: text ? text.split(' ') : [] });
}}
placeholder={'destChannelNames (split by blank)'}
value={destChannelNames.join(' ')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,11 @@ export default class Encryption
<AgoraTextInput
onChangeText={(text) => {
this.setState({
encryptionKdfSalt: text.split(' ').map((value) => +value),
encryptionKdfSalt: text
? text.split(' ').map((value) => +value)
: [],
});
}}
numberKeyboard={true}
placeholder={'encryptionKdfSalt (split by blank)'}
value={encryptionKdfSalt.join(' ')}
/>
Expand Down

0 comments on commit adf935e

Please sign in to comment.