+
+ {#each searchTerm?.length !== 0 ? filteredRows : allRows as row}
+
+ {#if row?.rule === "score" && data?.user?.tier !== "Pro"}
+
+ {:else}
+
changeRule(row?.rule)}
+ id={row?.rule}
+ type="checkbox"
+ checked={ruleOfList?.find((rule) => rule?.name === row?.rule)}
+ class="h-[18px] w-[18px] rounded-sm ring-offset-0 lg:h-4 lg:w-4"
+ />
+ {/if}
+
+
+
+
+ {/each}
+
+
+ {#if searchTerm?.length > 0 && filteredRows?.length === 0}
+
+ Nothing found
+
+ {/if}