diff --git a/frontend/src/lib/components/InstanceSetting.svelte b/frontend/src/lib/components/InstanceSetting.svelte index 51cbe3452f..f724e97a1a 100644 --- a/frontend/src/lib/components/InstanceSetting.svelte +++ b/frontend/src/lib/components/InstanceSetting.svelte @@ -406,9 +406,16 @@ {:else if expiration}
- License key expired on {expiration} + + {#if $values[setting.key]?.endsWith('__dev')} + Dev license key expired on {expiration}.
If even after successful + renewal, your dev license key is still expired, it means that your production + key has expired due to unpaid invoices or excessive use of your production + instance. + {:else} + License key expired on {expiration}. + {/if} +
{:else}
@@ -440,12 +447,17 @@ : 'text-red-600' )} > - {latestKeyRenewalAttempt.result === 'success' - ? 'Latest key renewal succeeded' - : isTrial - ? 'Latest key renewal ignored because in trial' - : 'Latest key renewal failed'} - on {attemptedAt} + {#if latestKeyRenewalAttempt.result === 'success' && $values[setting.key]?.endsWith('__dev')} + Latest dev key renewal succeeded on {attemptedAt}. The dev key expiry was + updated to align with your current production key's expiration date. + {:else} + {latestKeyRenewalAttempt.result === 'success' + ? 'Latest key renewal succeeded' + : isTrial + ? 'Latest key renewal ignored because in trial' + : 'Latest key renewal failed'} + on {attemptedAt} + {/if}
{#snippet text()}