Sfoglia il codice sorgente

fix: only script profile can display console

GyDi 2 anni fa
parent
commit
c611a51575
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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