Skip to content

Commit

Permalink
fix: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Nov 15, 2023
2 parents 175c042 + 498daa3 commit a17ce16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ const AnswerLinks = () => {
</a>
</Col>
<Col xs={6}>
<a href="https://answer.dev/docs" target="_blank" rel="noreferrer">
<a
href="https://github.com/apache/incubator-answer"
target="_blank"
rel="noreferrer">
{t('github')}
</a>
</Col>
Expand Down
1 change: 1 addition & 0 deletions ui/src/pages/Admin/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ const Index: FC = () => {
setting.allow_email_domains.join('\n');
}
formMeta.login_required.value = setting.login_required;
formMeta.allow_password_login.value = setting.allow_password_login;
setFormData({ ...formMeta });
}
});
Expand Down
3 changes: 3 additions & 0 deletions ui/src/pages/Questions/Ask/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ const Ask = () => {
if (e.currentTarget.value.length >= 10) {
querySimilarQuestions(e.currentTarget.value);
}
if (e.currentTarget.value.length === 0) {
setSimilarQuestions([]);
}
};
const handleContentChange = (value: string) => {
setFormData({
Expand Down

0 comments on commit a17ce16

Please sign in to comment.