fix:pagination shopw author name
This commit is contained in:
@@ -103,6 +103,7 @@ const BlogList: FC = () => {
|
||||
<thead className='thead'>
|
||||
<tr>
|
||||
<Td text={t('blog.picture')} />
|
||||
<Td text={t('blog.author')} />
|
||||
<Td text={t('blog.blog_title')} />
|
||||
<Td text={t('blog.blog_summary')} />
|
||||
<Td text={t('blog.category')} />
|
||||
@@ -119,6 +120,9 @@ const BlogList: FC = () => {
|
||||
<Td text={''}>
|
||||
<img src={item.imageUrl} alt={item.title} className='w-20 rounded-lg' />
|
||||
</Td>
|
||||
<Td text={''}>
|
||||
<p className='max-w-[150px] truncate'>{item.author.firstName} {item.author.lastName}</p>
|
||||
</Td>
|
||||
<Td text={''}>
|
||||
<p className='max-w-[150px] truncate'>{item.title}</p>
|
||||
</Td>
|
||||
|
||||
@@ -147,6 +147,7 @@ const CreateBlog: FC = () => {
|
||||
onChange={(content) => formik.setFieldValue('previewContent', content)}
|
||||
placeholder={t('blog.enter_blog_summary')}
|
||||
minHeight="120px"
|
||||
defaultAltText={formik.values.title || 'تصویر'}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -164,6 +165,7 @@ const CreateBlog: FC = () => {
|
||||
onChange={(content) => formik.setFieldValue('content', content)}
|
||||
placeholder={t('blog.enter_blog_content')}
|
||||
minHeight="200px"
|
||||
defaultAltText={formik.values.title || 'تصویر'}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -155,6 +155,7 @@ const UpdateBlog: FC = () => {
|
||||
onChange={(content) => formik.setFieldValue('previewContent', content)}
|
||||
placeholder={t('blog.enter_blog_summary')}
|
||||
minHeight="120px"
|
||||
defaultAltText={formik.values.title || 'تصویر'}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -172,6 +173,7 @@ const UpdateBlog: FC = () => {
|
||||
onChange={(content) => formik.setFieldValue('content', content)}
|
||||
placeholder={t('blog.enter_blog_content')}
|
||||
minHeight="200px"
|
||||
defaultAltText={formik.values.title || 'تصویر'}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user