File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/scenes/Languages/Detail Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -301,15 +301,15 @@ export const LanguageDetail = () => {
301
301
className = { classes . listItem }
302
302
/>
303
303
) ) }
304
- { projects ?. items . length === 0 ? (
305
- < Typography color = "textSecondary" >
306
- This language is not engaged in any projects
307
- </ Typography >
308
- ) : projects ?. canRead === false ? (
304
+ { projects ?. canRead === false ? (
309
305
< Typography color = "textSecondary" >
310
306
You don't have permission to see the projects this language is
311
307
engaged in
312
308
</ Typography >
309
+ ) : projects ?. items . length === 0 ? (
310
+ < Typography color = "textSecondary" >
311
+ This language is not engaged in any projects
312
+ </ Typography >
313
313
) : null }
314
314
</ Grid >
315
315
< Grid item xs = { 12 } >
You can’t perform that action at this time.
0 commit comments