From fe45a68260b4ec0f948ec1ae31070d6fbfb5730a Mon Sep 17 00:00:00 2001 From: George Zhao <38124587+CreatorZZY@users.noreply.github.com> Date: Sat, 17 May 2025 17:27:45 +0800 Subject: [PATCH] fix: Ensure last app is displayed when no filtered apps are found (#6090) * fix: Ensure last app is displayed when no filtered apps are found * fix: Remove Empty component from AppsPage when no apps are found --------- Co-authored-by: George Zhao --- src/renderer/src/pages/apps/AppsPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/apps/AppsPage.tsx b/src/renderer/src/pages/apps/AppsPage.tsx index 3ffecd9bcd..099649fade 100644 --- a/src/renderer/src/pages/apps/AppsPage.tsx +++ b/src/renderer/src/pages/apps/AppsPage.tsx @@ -1,7 +1,7 @@ import { Navbar, NavbarCenter } from '@renderer/components/app/Navbar' import { Center } from '@renderer/components/Layout' import { useMinapps } from '@renderer/hooks/useMinapps' -import { Empty, Input } from 'antd' +import { Input } from 'antd' import { isEmpty } from 'lodash' import { Search } from 'lucide-react' import React, { FC, useState } from 'react' @@ -53,7 +53,7 @@ const AppsPage: FC = () => { {isEmpty(filteredApps) ? (
- +
) : (