Skip to content

Commit 355089b

Browse files
committed
clean up comments
1 parent 856520f commit 355089b

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

web_src/js/components/DashboardRepoList.vue

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ type DashboardRepo = {
1717
template: boolean,
1818
private: boolean,
1919
internal: boolean,
20-
latest_commit_status_state: CommitStatus,
21-
latest_commit_status_state_link: string,
22-
locale_latest_commit_status_state: string,
20+
latest_commit_status_state?: CommitStatus,
21+
latest_commit_status_state_link?: string,
22+
locale_latest_commit_status_state?: string,
2323
};
2424
2525
type CommitStatus = 'pending' | 'success' | 'error' | 'failure' | 'warning' | 'skipped';
@@ -84,19 +84,14 @@ export default defineComponent({
8484
} as Record<string, {searchMode: string}>,
8585
textArchivedFilterTitles: {} as Record<string, string>,
8686
textPrivateFilterTitles: {} as Record<string, string>,
87-
8887
organizations: [] as Array<{name: string, full_name: string, num_repos: number, org_visibility: string}>,
8988
isOrganization: true,
9089
canCreateOrganization: false,
9190
organizationsTotalCount: 0,
9291
organizationId: 0,
93-
94-
// from Go ctx.PageData
9592
searchLimit: 0,
9693
uid: 0,
97-
// from template (conditionally set)
9894
teamId: 0,
99-
// from template (text strings)
10095
isMirrorsEnabled: false,
10196
isStarsEnabled: false,
10297
canCreateMigrations: false,
@@ -129,7 +124,6 @@ export default defineComponent({
129124
textNewOrg: '',
130125
textOrgVisibilityLimited: '',
131126
textOrgVisibilityPrivate: '',
132-
133127
subUrl: appSubUrl,
134128
...pageData.dashboardRepoList,
135129
activeIndex: -1, // don't select anything at load, first cursor down will select

0 commit comments

Comments
 (0)