mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
Render disabled buttons as disabled (#1858)
This commit is contained in:
@@ -67,7 +67,7 @@ const Button: FC<Props> = ({
|
||||
return <>{icon ? <Icon name={icon} color="inherit" className="is-medium pr-1" /> : null}</>;
|
||||
};
|
||||
|
||||
if (link) {
|
||||
if (link && !disabled) {
|
||||
return (
|
||||
<Link
|
||||
className={classNames(
|
||||
|
||||
Reference in New Issue
Block a user