@@ -4,7 +4,7 @@ import $ from 'jquery';
44import {SvgIcon } from ' ../svg.ts' ;
55import {GET } from ' ../modules/fetch.ts' ;
66
7- const {appSubUrl, assetUrlPrefix, pageData, defaultShowFullName } = window .config ;
7+ const {appSubUrl, assetUrlPrefix, pageData} = window .config ;
88
99// make sure this matches templates/repo/commit_status.tmpl
1010const commitStatus = {
@@ -64,7 +64,6 @@ const sfc = {
6464 canCreateOrganization: false ,
6565 organizationsTotalCount: 0 ,
6666 organizationId: 0 ,
67- defaultShowFullName ,
6867
6968 subUrl: appSubUrl ,
7069 ... pageData .dashboardRepoList ,
@@ -472,7 +471,7 @@ export default sfc; // activate the IDE's Vue plugin
472471 <li class =" tw-flex tw-items-center tw-py-2" v-for =" org in organizations" :key =" org.name" >
473472 <a class =" repo-list-link muted" :href =" subUrl + '/' + encodeURIComponent(org.name)" >
474473 <svg-icon name =" octicon-organization" :size =" 16" class-name =" repo-list-icon" />
475- <div class =" text truncate" >{{ defaultShowFullName && org.full_name ? org.full_name : org.name }}</div >
474+ <div class =" text truncate" >{{ org.full_name ? `${ org.full_name} (${org.name})` : org.name }}</div >
476475 <div ><!-- div to prevent underline of label on hover -->
477476 <span class =" ui tiny basic label" v-if =" org.org_visibility !== 'public'" >
478477 {{ org.org_visibility === 'limited' ? textOrgVisibilityLimited: textOrgVisibilityPrivate }}
0 commit comments