mirror of https://gitee.com/answerdev/answer.git
fix: add id attribute for avatar setting
This commit is contained in:
parent
fce82bdda1
commit
c039760f33
|
@ -256,6 +256,7 @@ const Index: React.FC = () => {
|
|||
<Form.Check
|
||||
inline
|
||||
type="radio"
|
||||
id="gravatar"
|
||||
label={t('avatar.gravatar')}
|
||||
className="mb-0"
|
||||
checked={formData.avatar.type === 'gravatar'}
|
||||
|
@ -275,6 +276,7 @@ const Index: React.FC = () => {
|
|||
inline
|
||||
type="radio"
|
||||
label={t('avatar.custom')}
|
||||
id="custom"
|
||||
className="mb-0"
|
||||
checked={formData.avatar.type === 'custom'}
|
||||
onChange={() =>
|
||||
|
@ -291,6 +293,7 @@ const Index: React.FC = () => {
|
|||
<Form.Check
|
||||
inline
|
||||
type="radio"
|
||||
id="default"
|
||||
label={t('avatar.default')}
|
||||
className="mb-0"
|
||||
checked={formData.avatar.type === 'default'}
|
||||
|
|
Loading…
Reference in New Issue