Refactor: Add error icon when an error occurs building node
This commit is contained in:
parent
ba4d51a77f
commit
85627a05e5
3 changed files with 4 additions and 2 deletions
|
|
@ -420,7 +420,7 @@ export default function GenericNode({
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<IconComponent
|
<IconComponent
|
||||||
name="FlaskConical"
|
name="AlertCircle"
|
||||||
className={classNames(
|
className={classNames(
|
||||||
validationStatus && !validationStatus.valid
|
validationStatus && !validationStatus.valid
|
||||||
? "red-status"
|
? "red-status"
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@
|
||||||
@apply generic-node-status text-status-green;
|
@apply generic-node-status text-status-green;
|
||||||
}
|
}
|
||||||
.red-status {
|
.red-status {
|
||||||
@apply generic-node-status text-status-red fill-status-red;
|
@apply generic-node-status text-status-red;
|
||||||
}
|
}
|
||||||
.yellow-status {
|
.yellow-status {
|
||||||
@apply generic-node-status text-status-yellow;
|
@apply generic-node-status text-status-yellow;
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,7 @@ import {
|
||||||
XCircle,
|
XCircle,
|
||||||
Zap,
|
Zap,
|
||||||
FlaskConical,
|
FlaskConical,
|
||||||
|
AlertCircle,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { FaApple, FaGithub } from "react-icons/fa";
|
import { FaApple, FaGithub } from "react-icons/fa";
|
||||||
import { AWSIcon } from "../icons/AWS";
|
import { AWSIcon } from "../icons/AWS";
|
||||||
|
|
@ -402,4 +403,5 @@ export const nodeIconsLucide: iconsType = {
|
||||||
ScreenShare,
|
ScreenShare,
|
||||||
Code,
|
Code,
|
||||||
FlaskConical,
|
FlaskConical,
|
||||||
|
AlertCircle,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue