Commit 26ef325
TT-6985 Refactor ProjectsScreen to simplify admin workflow modification logic (#164)
* TT-6985 Refactor ProjectsScreen to simplify admin workflow modification logic
This update modifies the logic for determining if a user can modify the workflow in the ProjectsScreen component. The check for personal team status has been removed, streamlining the conditions under which workflow modifications are allowed. This change enhances code clarity and maintains the intended functionality.
Key Changes:
- Removed the isPersonal check from the canModifyWorkflow logic
- Updated dependencies in the useMemo hook accordingly
* remove misleading comment
---------
Co-authored-by: Greg Trihus <[email protected]>1 parent a80f07e commit 26ef325
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | 195 | | |
197 | | - | |
| 196 | + | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | | - | |
| 201 | + | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
| |||
0 commit comments