We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ddf231 commit fceae35Copy full SHA for fceae35
src/routes/tools/+page.svelte
@@ -262,7 +262,11 @@
262
{tool.createdByName}
263
</a>
264
<span class="text-gray-300">•</span>
265
- {tool.useCount} runs
+ {#if tool.useCount === 1}
266
+ 1 run
267
+ {:else}
268
+ {tool.useCount} runs
269
+ {/if}
270
</p>
271
{:else}
272
<p class="mt-auto text-xs text-purple-700 dark:text-purple-400">
src/routes/tools/[toolId]/+page.svelte
@@ -82,7 +82,11 @@
82
{data.tool?.createdByName}
83
84
85
- {data.tool.useCount} runs
+ {#if data.tool.useCount === 1}
86
87
88
+ {data.tool.useCount} runs
89
90
91
{/if}
92
0 commit comments