File tree Expand file tree Collapse file tree
Questions/Ask/components/SearchQuestion Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { getSeoSetting, putSeoSetting } from '@/services';
66import { SchemaForm , JSONSchema , initFormData , UISchema } from '@/components' ;
77import { useToast } from '@/hooks' ;
88import { handleFormError } from '@/utils' ;
9+ import { seoSettingStore } from '@/stores' ;
910
1011const Index : FC = ( ) => {
1112 const { t } = useTranslation ( 'translation' , {
@@ -64,6 +65,7 @@ const Index: FC = () => {
6465 msg : t ( 'update' , { keyPrefix : 'toast' } ) ,
6566 variant : 'success' ,
6667 } ) ;
68+ seoSettingStore . getState ( ) . update ( reqParams ) ;
6769 } )
6870 . catch ( ( err ) => {
6971 if ( err . isError ) {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const SearchQuestion = ({ similarQuestions }) => {
2727 < ListGroup . Item
2828 action
2929 as = "a"
30- className = "link-dark"
30+ className = "d-flex align-items-center link-dark"
3131 key = { item . id }
3232 href = { pathFactory . questionLanding ( item . id , item . url_title ) }
3333 target = "_blank" >
@@ -38,7 +38,7 @@ const SearchQuestion = ({ similarQuestions }) => {
3838 : null }
3939 </ span >
4040 { item . accepted_answer ? (
41- < span className = "ms-3 text-success" >
41+ < span className = "small ms-3 text-success" >
4242 < Icon type = "bi" name = "check-circle-fill" />
4343 < span className = "ms-1" >
4444 { t ( 'x_answers' , {
@@ -49,7 +49,7 @@ const SearchQuestion = ({ similarQuestions }) => {
4949 </ span >
5050 ) : (
5151 item . answer_count > 0 && (
52- < span className = "ms-3 text-secondary" >
52+ < span className = "small ms-3 text-secondary" >
5353 < Icon type = "bi" name = "chat-square-text-fill" />
5454 < span className = "ms-1" >
5555 { t ( 'x_answers' , {
You can’t perform that action at this time.
0 commit comments