We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bfadbc commit bbe4b3bCopy full SHA for bbe4b3b
Coding_iOS/Controllers/ProjectViewController.m
@@ -139,7 +139,7 @@ - (void)configNavBtnWithMyProject{
139
140
- (void)configRightBarButtonItemWithViewType:(ProjectViewType)viewType{
141
UIBarButtonItem *navRightBtn = nil;
142
- if ((viewType == ProjectViewTypeMembers && [[Login curLoginUser].global_key isEqualToString:_myProject.owner_user_name])
+ if ((viewType == ProjectViewTypeMembers && _myProject.current_user_role_id.integerValue >= 90)
143
|| viewType == ProjectViewTypeTasks
144
|| viewType == ProjectViewTypeTopics
145
|| viewType == ProjectViewTypeFiles) {
0 commit comments