diff --git a/src/git/models/remote.ts b/src/git/models/remote.ts index 3c27a03..95819ab 100644 --- a/src/git/models/remote.ts +++ b/src/git/models/remote.ts @@ -55,7 +55,7 @@ export class GitRemote { let arrows; let left; let right; - for (const { type } of this.remote.types) { + for (const { type } of this.remote.urls) { if (type === GitRemoteType.Fetch) { left = true; @@ -147,8 +147,8 @@ export class RemoteNode extends ViewNode { item.id = this.id; - for (const type of this.remote.types) { - item.tooltip += `\n${type.url} (${type.type})`; + for (const { type, url } of this.remote.urls) { + item.tooltip += `\n${url} (${type})`; } return item;