From 83894df2605a5c1680bc6b2ff8446a70c2c29057 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Wed, 18 Mar 2026 10:52:07 +0800 Subject: [PATCH] fix(web): app sharing bugfix --- .../views/ApplicationConfig/components/AppSharingModal.tsx | 3 ++- web/src/views/ApplicationManagement/MySharing.tsx | 4 ++-- web/src/views/ApplicationManagement/index.tsx | 4 ++-- web/src/views/ApplicationManagement/types.ts | 3 ++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/web/src/views/ApplicationConfig/components/AppSharingModal.tsx b/web/src/views/ApplicationConfig/components/AppSharingModal.tsx index 39b2a77e..b49b10e3 100644 --- a/web/src/views/ApplicationConfig/components/AppSharingModal.tsx +++ b/web/src/views/ApplicationConfig/components/AppSharingModal.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-03-13 17:19:13 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-13 17:26:57 + * @Last Modified time: 2026-03-18 10:47:17 */ import { forwardRef, useImperativeHandle, useState } from 'react'; import { Checkbox, App, Form } from 'antd'; @@ -147,6 +147,7 @@ const AppSharingModal = forwardRef(({ e.stopPropagation()} onChange={() => handleToggle(space.id, isShared)} /> {space.name} diff --git a/web/src/views/ApplicationManagement/MySharing.tsx b/web/src/views/ApplicationManagement/MySharing.tsx index 54e501ca..cc025a01 100644 --- a/web/src/views/ApplicationManagement/MySharing.tsx +++ b/web/src/views/ApplicationManagement/MySharing.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 16:34:12 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-13 17:36:16 + * @Last Modified time: 2026-03-18 10:44:32 */ import React, { useState, useEffect, useMemo } from 'react'; import { useTranslation } from 'react-i18next'; @@ -107,7 +107,7 @@ const MySharing: React.FC = () => { {items.map(item => (
handleCancelOne(item)} /> diff --git a/web/src/views/ApplicationManagement/index.tsx b/web/src/views/ApplicationManagement/index.tsx index 32652bc3..c9f57268 100644 --- a/web/src/views/ApplicationManagement/index.tsx +++ b/web/src/views/ApplicationManagement/index.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 16:34:12 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-16 09:56:02 + * @Last Modified time: 2026-03-18 10:50:33 */ /** * Application Management Page @@ -185,7 +185,7 @@ const ApplicationManagement: React.FC = () => { ref={scrollListRef} url={getApplicationListUrl} - query={{ ...query, shared_only: activeTab === 'sharing' }} + query={{ ...query, shared_only: activeTab === 'sharing', include_shared: activeTab !== 'apps' }} renderItem={(item) => (