diff --git a/src/renderer/src/components/MinApp/MinappPopupContainer.tsx b/src/renderer/src/components/MinApp/MinappPopupContainer.tsx
index a554cb8b..6b668795 100644
--- a/src/renderer/src/components/MinApp/MinappPopupContainer.tsx
+++ b/src/renderer/src/components/MinApp/MinappPopupContainer.tsx
@@ -99,6 +99,9 @@ const MinappPopupContainer: React.FC = () => {
})
}, [currentMinappId])
+ /** only the keepalive minapp can be minimized */
+ const canMinimize = !(openedOneOffMinapp && openedOneOffMinapp.id == currentMinappId)
+
/** combine the openedKeepAliveMinapps and openedOneOffMinapp */
const combinedApps = useMemo(() => {
return [...openedKeepAliveMinapps, ...(openedOneOffMinapp ? [openedOneOffMinapp] : [])]
@@ -237,11 +240,13 @@ const MinappPopupContainer: React.FC = () => {
)}
-
-
-
+ {canMinimize && (
+
+
+
+ )}