Ver Fonte

fix: only script profile can display console

GyDi há 2 anos atrás
pai
commit
c611a51575
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/profile/profile-more.tsx

+ 1 - 1
src/components/profile/profile-more.tsx

@@ -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