{#if version && compareVersion(version.latest, version.current)}
{/if}
{#if loaded}
{#if !['user', 'admin'].includes($user.role)}
{:else if localDBChats.length > 0}
Important Update Action Required for Chat Log Storage
{$i18n.t(
"Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through"
)}
{$i18n.t('Settings')} > {$i18n.t('Chats')} > {$i18n.t('Import Chats')}. {$i18n.t(
'This ensures that your valuable conversations are securely saved to your backend database. Thank you!'
)}