fix: only script profile can display console

This commit is contained in:
GyDi 2022-08-17 01:45:37 +08:00
parent 2e75c9951b
commit 8de67411ac

View File

@ -144,7 +144,7 @@ const ProfileMore = (props: Props) => {
</Box> </Box>
<Box sx={boxStyle}> <Box sx={boxStyle}>
{selected ? ( {selected && type === "script" ? (
hasError ? ( hasError ? (
<Badge color="error" variant="dot" overlap="circular"> <Badge color="error" variant="dot" overlap="circular">
<IconButton <IconButton