We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc51629 commit 6324fb4Copy full SHA for 6324fb4
1 file changed
src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOMTab.tsx
@@ -93,11 +93,9 @@ const BOMTab = ({ project }: { project: Project }) => {
93
>
94
Show All Columns
95
</NERButton>
96
- {isAtMostRank('MEMBER', user.role) ? null : (
97
- <NERButton variant="contained" onClick={() => {}} disabled={false}>
98
- Copy Existing BOM
99
- </NERButton>
100
- )}
+ <NERButton variant="contained" onClick={() => {}} disabled={isAtMostRank('MEMBER', user.role)}>
+ Copy Existing BOM
+ </NERButton>
101
</Box>
102
<Box display="flex" gap="20px" alignItems="center">
103
<Box sx={{ backgroundColor: theme.palette.background.paper, padding: '8px 14px 8px 14px', borderRadius: '6px' }}>
0 commit comments