fix: only script profile can display console

This commit is contained in:
GyDi 2022-08-17 01:45:37 +08:00
parent 73458dcd28
commit c611a51575
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

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