Sfoglia il codice sorgente

Fix current error (#2856)

* install github app button

* general error component

* auto-generate cluster name

* fix button text color

* infra tab for porter user

* take care of current-error

* take care of current-error
jusrhee 3 anni fa
parent
commit
cc15b4630d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      dashboard/src/main/CurrentError.tsx

+ 1 - 1
dashboard/src/main/CurrentError.tsx

@@ -37,7 +37,7 @@ export default class CurrentError extends Component<PropsType, StateType> {
       currentError = String(currentError);
     }
 
-    if (currentError) {
+    if (currentError && currentError !== "" && currentError !== "{}" && currentError !== undefined && currentError.length > 3) {
       if (!this.state.expanded) {
         return (
           <StyledCurrentError>