From 5f21e0f8eb66791fc86c07baac80b485fd5965fc Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Wed, 26 Apr 2023 11:25:29 +0900 Subject: Automatically select the org when click create repo from org dashboard (#24325) ![image](https://user-images.githubusercontent.com/18380374/234209941-d661b07f-e963-427b-a673-78c46043a792.png) In org dashboard, the create repo link will be `repo/create?org={orgId}` --- web_src/js/components/DashboardRepoList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web_src/js/components') diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index 1af53aac90..33b312aa6e 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -10,7 +10,7 @@ {{ textMyRepos }} {{ reposTotalCount }} - + {{ textNewRepo }} @@ -199,6 +199,7 @@ const sfc = { isOrganization: true, canCreateOrganization: false, organizationsTotalCount: 0, + organizationId: 0, subUrl: appSubUrl, ...pageData.dashboardRepoList, -- cgit v1.2.3