fix: only script profile can display console
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user