File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
GitLab.VisualStudio.Shared/Models
GitLab.VisualStudio.UI/ViewModels Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ public static implicit operator Project(NGitLab.Models.Project p)
2424 WikiEnabled = p . WikiEnabled ,
2525 Id = p . Id ,
2626 WebUrl = p . WebUrl ,
27- Description = p . Description
28-
27+ Description = p . Description ,
28+ Namespace = p . Namespace . FullPath
2929 } ;
3030 }
3131 else
@@ -74,6 +74,7 @@ public Octicon Icon
7474 }
7575 }
7676
77- public string Description { get ; set ; }
78- }
77+ public string Description { get ; set ; }
78+ public string Namespace { get ; set ; }
79+ }
7980}
Original file line number Diff line number Diff line change @@ -64,6 +64,13 @@ public ProjectViewModel(Project repository)
6464 Name = repository . Owner . Name ,
6565 AvatarUrl = repository . Owner . AvatarUrl
6666 } ;
67+ } else
68+ {
69+ Owner = new Owner
70+ {
71+ Name = repository . Namespace ,
72+ AvatarUrl = ""
73+ } ;
6774 }
6875
6976 Icon = repository . Icon ;
You can’t perform that action at this time.
0 commit comments