File tree 2 files changed +12
-4
lines changed
GitLab.VisualStudio.Shared/Models
GitLab.VisualStudio.UI/ViewModels
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)
24
24
WikiEnabled = p . WikiEnabled ,
25
25
Id = p . Id ,
26
26
WebUrl = p . WebUrl ,
27
- Description = p . Description
28
-
27
+ Description = p . Description ,
28
+ Namespace = p . Namespace . FullPath
29
29
} ;
30
30
}
31
31
else
@@ -74,6 +74,7 @@ public Octicon Icon
74
74
}
75
75
}
76
76
77
- public string Description { get ; set ; }
78
- }
77
+ public string Description { get ; set ; }
78
+ public string Namespace { get ; set ; }
79
+ }
79
80
}
Original file line number Diff line number Diff line change @@ -64,6 +64,13 @@ public ProjectViewModel(Project repository)
64
64
Name = repository . Owner . Name ,
65
65
AvatarUrl = repository . Owner . AvatarUrl
66
66
} ;
67
+ } else
68
+ {
69
+ Owner = new Owner
70
+ {
71
+ Name = repository . Namespace ,
72
+ AvatarUrl = ""
73
+ } ;
67
74
}
68
75
69
76
Icon = repository . Icon ;
You can’t perform that action at this time.
0 commit comments