|
|
@@ -34,7 +34,7 @@ const SentCanReadWidget = ({
|
|
|
)
|
|
|
.then((json) => {
|
|
|
if (json.ok) {
|
|
|
- console.log("pr load", json.data.rows);
|
|
|
+ console.log("sent load", json.data.rows);
|
|
|
const newData: ISentence[] = json.data.rows.map((item) => {
|
|
|
return {
|
|
|
id: item.id,
|
|
|
@@ -47,6 +47,7 @@ const SentCanReadWidget = ({
|
|
|
editor: item.editor,
|
|
|
studio: item.studio,
|
|
|
channel: item.channel,
|
|
|
+ suggestionCount: item.suggestionCount,
|
|
|
updateAt: item.updated_at,
|
|
|
};
|
|
|
});
|
|
|
@@ -81,7 +82,7 @@ const SentCanReadWidget = ({
|
|
|
/>
|
|
|
</div>
|
|
|
{sentData.map((item, id) => {
|
|
|
- return <SentCell data={item} key={id} isPr={true} />;
|
|
|
+ return <SentCell data={item} key={id} isPr={false} />;
|
|
|
})}
|
|
|
</>
|
|
|
);
|