mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add setting for account name and display name
This commit is contained in:
@@ -614,7 +614,11 @@ const Thread = () => {
|
||||
<tr data-type="Name">
|
||||
<td id="td-name">Name</td>
|
||||
<td>
|
||||
<input name="name" type="text" tabIndex={1} placeholder="Anonymous" ref={nameRef} />
|
||||
{account.author.displayName ? (
|
||||
<input name="name" type="text" tabIndex={1} value={account.author.displayName} ref={nameRef} disabled />
|
||||
) : (
|
||||
<input name="name" type="text" placeholder="Anonymous" tabIndex={1} ref={nameRef} />
|
||||
)}
|
||||
<input id="post-button" type="submit" value="Post" tabIndex={6}
|
||||
onClick={handleSubmit} />
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user