<commit_before><template>
<div v-if="view === 'Grid'">
	<div v-for="items in resultsInRows" class="columns">
		<div v-for="index in columnCount" class="column">
			<item-thumbnail
				v-if="items[index - 1]"
				:item="items[index - 1]"
				:selected="selected && selected.indexOf(1) !== -1"
				:enable-options="!pickerMode"
				:on-edit="editAction"
			>
				<div v-if="pickerMode" class="media-picker__overlay" @click="pickMedia(items[index - 1])">
					<icon
						name="plus"
						:width="20"
						:height="20"<commit_msg>Pass down our delete "option" to our item thumbnail component from our results component.<commit_after><template>
<div v-if="view === 'Grid'">
	<div v-for="items in resultsInRows" class="columns">
		<div v-for="index in columnCount" class="column">
			<item-thumbnail
				v-if="items[index - 1]"
				:item="items[index - 1]"
				:selected="selected && selected.indexOf(1) !== -1"
				:enable-options="!pickerMode"
				:on-edit="editAction"
				:options="[
					{
						text: 'Delete',
						action: (item) => $store.dispatch('detachMediaFromSite', item),
						divided: true
					}
				]"
			>
				<div v-if="pickerMode" class="media-picker__overlay" @click="pickMedia(items[index - 1])">
					<icon
						name="plus"
						:width="20"
						:height="20"
{'fraction_non_alphanumeric': 0.18784099766173032, 'fraction_numerical': 0.014029618082618862, 'mean_word_length': 3.537102473498233, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6712891', 'n_tokens_mistral': 564, 'n_tokens_neox': 433, 'n_words': 87}