-
-
-
-
-
-
-
-
- |
-
-
-
-
- {#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}
-
-
- {:else}
-
- {feedback.data?.model_id}
-
- {/if}
-
-
- |
-
-
- {#if feedback.data.rating.toString() === '1'}
-
- {:else if feedback.data.rating.toString() === '0'}
-
- {:else if feedback.data.rating.toString() === '-1'}
-
- {/if}
-
- |
-
-
- {dayjs(feedback.updated_at * 1000).fromNow()}
- |
-
-
- {
- deleteFeedbackHandler(feedback.id);
- }}
- >
-
-
- |
-
- {/each}
-