This commit is contained in:
oiov
2025-04-02 15:27:54 +08:00
parent d67b023728
commit c98bdcd178
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ export default function EmailList({
}
}, [emailAddress, data, selectedEmailId]);
if (emailAddress) {
if (!emailAddress) {
return (
<div className="grids flex flex-1 animate-fade-in flex-col items-center justify-center p-4 text-center text-neutral-600 dark:text-neutral-400">
<BlurImg
+1 -1
View File
@@ -375,7 +375,7 @@ export default function EmailSidebar({
<Skeleton className="h-[50px] w-full rounded-lg" />
</div>
)}
{!error && userEmails && userEmails.length === 0 && (
{!error && !isLoading && userEmails && userEmails.length === 0 && (
<>
{!isCollapsed ? (
<div className="flex h-full items-center justify-center">
+1 -1
View File
File diff suppressed because one or more lines are too long