Merge pull request #570 from SuanmoSuanyangTechnology/feature/app_zy

feat(web): app api support shared_only key
This commit is contained in:
yingzhao
2026-03-16 09:59:25 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 16:34:12
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-13 17:03:40
* @Last Modified time: 2026-03-16 09:56:02
*/
/**
* Application Management Page
@@ -185,7 +185,7 @@ const ApplicationManagement: React.FC = () => {
<PageScrollList<Application, Query>
ref={scrollListRef}
url={getApplicationListUrl}
query={{ ...query, include_shared: activeTab === 'sharing' }}
query={{ ...query, shared_only: activeTab === 'sharing' }}
renderItem={(item) => (
<RbCard
title={item.name}

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 16:34:15
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-13 17:01:06
* @Last Modified time: 2026-03-16 09:55:52
*/
/**
* Type definitions for Application Management
@@ -15,7 +15,7 @@ export interface Query {
/** Search keyword */
search: string;
type?: string;
include_shared?: boolean;
shared_only?: boolean;
}
/**