aboutsummaryrefslogtreecommitdiff
path: root/src/routes/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/tools')
-rw-r--r--src/routes/tools/+page.svelte4
-rw-r--r--src/routes/tools/[tool]/+page.svelte2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index edc18410..6dac37ec 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -9,7 +9,7 @@
<Picker {tool} />
-<HeadTitle route={tools[tool].name} path={`/tools?tool=${tool}`} />
+<HeadTitle route={tools[tool].name()} path={`/tools?tool=${tool}`} />
<div class="card">
<p>Select a tool to continue.</p>
@@ -18,7 +18,7 @@
{#each Object.keys(tools) as t}
{#if t !== 'default'}
<li>
- <a href={root(`/tools/${tools[t].id}`)} on:click={() => (tool = t)}>{tools[t].name}</a>
+ <a href={root(`/tools/${tools[t].id}`)} on:click={() => (tool = t)}>{tools[t].name()}</a>
{#if tools[t].description}
<blockquote>{tools[t].description}</blockquote>
{/if}
diff --git a/src/routes/tools/[tool]/+page.svelte b/src/routes/tools/[tool]/+page.svelte
index e6f151ad..137df74d 100644
--- a/src/routes/tools/[tool]/+page.svelte
+++ b/src/routes/tools/[tool]/+page.svelte
@@ -45,7 +45,7 @@
</blockquote>
</div>
{:else}
- <HeadTitle route={tools[tool].name} path={`/tools?tool=${tool}`} />
+ <HeadTitle route={tools[tool].name()} path={`/tools?tool=${tool}`} />
{#if tool === 'activity_history'}
<ActivityHistory user={data.user} />