change(ui) - add btn and other changes
This commit is contained in:
parent
8fca8f2ebf
commit
c89025faa1
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ function AddProjectButton({ isAdmin = false, init = () => {} }: any) {
|
|||
};
|
||||
return (
|
||||
<Popup content={`${!isAdmin ? PERMISSION_WARNING : !canAddProject ? LIMIT_WARNING : 'Add a Project'}`}>
|
||||
<Button rounded={true} variant="outline" icon="plus" onClick={onClick} disabled={!canAddProject || !isAdmin}></Button>
|
||||
<Button variant="primary" onClick={onClick} disabled={!canAddProject || !isAdmin}>Add</Button>
|
||||
</Popup>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue