fix: only script profile can display console

This commit is contained in:
GyDi committed 2022-08-17 01:45:37 +08:00
1 parent 2e75c9951b
commit 8de67411ac
1 file changed
+1 -1
+1 -1
View File
@@ -144,7 +144,7 @@ const ProfileMore = (props: Props) => {
</Box>
<Box sx={boxStyle}>
{selected ? (
{selected && type === "script" ? (
hasError ? (
<Badge color="error" variant="dot" overlap="circular">
<IconButton