Loading src/desktop/commands/openers.ts +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ export const compareCurrentBranch: ProjectCommand = async projectInRepository => ); } if (getLastCommitSha(repository.rawRepository) && projectWithRepoInfo.repository.rootRef) { if (getLastCommitSha(repository.rawRepository) && projectWithRepoInfo.repository?.rootRef) { await openUrl( `${project.webUrl}/-/compare/${projectWithRepoInfo.repository.rootRef}...${getLastCommitSha( repository.rawRepository, Loading src/desktop/gitlab/api/get_projects_with_repository_info.ts +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ export interface GqlProjectWithRepoInfo { httpUrlToRepo: string; sshUrlToRepo: string; fullPath: string; repository: { repository?: { rootRef: string; empty: boolean; }; Loading src/desktop/gitlab/clone/gitlab_remote_source_provider.ts +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ export class GitLabRemoteSourceProvider implements RemoteSourceProvider { ); return result.projects.nodes .filter(project => !project.repository.empty) .filter(project => !project.repository?.empty) .map(project => remoteForProject(project)); } } Loading
src/desktop/commands/openers.ts +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ export const compareCurrentBranch: ProjectCommand = async projectInRepository => ); } if (getLastCommitSha(repository.rawRepository) && projectWithRepoInfo.repository.rootRef) { if (getLastCommitSha(repository.rawRepository) && projectWithRepoInfo.repository?.rootRef) { await openUrl( `${project.webUrl}/-/compare/${projectWithRepoInfo.repository.rootRef}...${getLastCommitSha( repository.rawRepository, Loading
src/desktop/gitlab/api/get_projects_with_repository_info.ts +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ export interface GqlProjectWithRepoInfo { httpUrlToRepo: string; sshUrlToRepo: string; fullPath: string; repository: { repository?: { rootRef: string; empty: boolean; }; Loading
src/desktop/gitlab/clone/gitlab_remote_source_provider.ts +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ export class GitLabRemoteSourceProvider implements RemoteSourceProvider { ); return result.projects.nodes .filter(project => !project.repository.empty) .filter(project => !project.repository?.empty) .map(project => remoteForProject(project)); } }