{t("ID")} | +{t("blog_posts.fields.title")} | +{t("blog_posts.fields.content")} | +{t("blog_posts.fields.category")} | +{t("blog_posts.fields.status.title")} | +{t("blog_posts.fields.createdAt")} | +{t("table.actions")} | +
---|---|---|---|---|---|---|
{record.id} | +{record.title} | ++ {record.content ? `${record.content.slice(0, 80)}...` : "-"} + | ++ {categoryIsLoading + ? "Loading..." + : categoryData?.data?.find( + (item) => item.id === record.category?.id, + )?.title} + | +{t(`blog_posts.fields.status.${record.status}`)} | ++ {record.createdAt && + new Date(record.createdAt).toLocaleDateString()} + | ++ + {t("buttons.edit")} + + {" | "} + + {t("buttons.show")} + + {" | "} + + | +
Email: admin@refine.dev
+Password: 123456
+