{#if items === null || total === null}
| setSortKey("user")}
>
{$i18n.t("User")}
{#if orderBy === "user"}
{#if direction === "asc"}
|
setSortKey("model_id")}
>
{$i18n.t("Models")}
{#if orderBy === "model_id"}
{#if direction === "asc"}
|
setSortKey("rating")}
>
{$i18n.t("Result")}
{#if orderBy === "rating"}
{#if direction === "asc"}
|
setSortKey("updated_at")}
>
{$i18n.t("Updated At")}
{#if orderBy === "updated_at"}
{#if direction === "asc"}
|
|
|---|---|---|---|---|
|
|
{#if feedback.data?.sibling_model_ids}
{feedback.data
?.model_id}
{#if feedback.data.sibling_model_ids.length > 2}
{feedback.data.sibling_model_ids
.slice(0, 2)
.join(", ")}, {$i18n.t(
"and {{COUNT}} more",
{
COUNT:
feedback
.data
.sibling_model_ids
.length -
2,
},
)}
{:else}
{feedback.data.sibling_model_ids.join(
", ",
)}
{/if}
{feedback.data
?.model_id}
|
{#if feedback?.data?.rating}
{#if feedback?.data?.rating.toString() === "1"}
|
{/if}
{dayjs( feedback.updated_at * 1000, ).fromNow()} | e.stopPropagation()}
>
|