feat(web): library settings crontab link includes existing expression (#13807)

This commit is contained in:
Zack Pollard 2024-10-29 15:51:00 +00:00 committed by GitHub
parent 4b9e460db5
commit 2c86da07c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,7 +90,12 @@
<svelte:fragment slot="desc">
<p class="text-sm dark:text-immich-dark-fg">
<FormatMessage key="admin.library_cron_expression_description" let:message>
<a href="https://crontab.guru" class="underline" target="_blank" rel="noreferrer">
<a
href="https://crontab.guru/#{config.library.scan.cronExpression.replaceAll(' ', '_')}"
class="underline"
target="_blank"
rel="noreferrer"
>
{message}
</a>
</FormatMessage>