diff --git a/frontend/src/components/c-summary-charts.vue b/frontend/src/components/c-summary-charts.vue index e9175abc94..8b7b0cde4f 100644 --- a/frontend/src/components/c-summary-charts.vue +++ b/frontend/src/components/c-summary-charts.vue @@ -181,13 +181,18 @@ ) - diff --git a/frontend/src/mixin/brokenLinkMixin.ts b/frontend/src/mixin/brokenLinkMixin.ts index 2a7714647c..cda35dbb3c 100644 --- a/frontend/src/mixin/brokenLinkMixin.ts +++ b/frontend/src/mixin/brokenLinkMixin.ts @@ -7,10 +7,10 @@ export default defineComponent({ }; }, methods: { - isBrokenLink(link: string) { + isBrokenLink(link: string | undefined) { return link === undefined; }, - getLinkMessage(link: string, linkMessage: string): string { + getLinkMessage(link: string | undefined, linkMessage: string): string { if (this.isBrokenLink(link)) { return this.disabledLinkMessage; } diff --git a/frontend/src/types/window.ts b/frontend/src/types/window.ts index a8a338d68b..8180527408 100644 --- a/frontend/src/types/window.ts +++ b/frontend/src/types/window.ts @@ -62,7 +62,7 @@ declare global { getBlameLink: (repoId: string, branch: string, filepath: string) => string | undefined; getHistoryLink: (repoId: string, branch: string, filepath: string) => string | undefined; getGroupName: (group: UserType[], filterGroupSelection: string) => string; - getAuthorDisplayName: (authorRepos: Repo[]) => string; + getAuthorDisplayName: (authorRepos: UserType[]) => string; api: Api; sinceDate: string; untilDate: string;