Ver código fonte

fix condition

Feroze Mohideen 2 anos atrás
pai
commit
2b9929ab65
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dashboard/src/main/home/Home.tsx

+ 1 - 1
dashboard/src/main/home/Home.tsx

@@ -394,7 +394,7 @@ const Home: React.FC<Props> = (props) => {
   const showCardBanner = !hasPaymentEnabled;
   const trialExpired = plan && isTrialExpired(plan.trial_info.ending_before);
 
-  if (currentProject?.simplified_view_enabled) {
+  if (!currentProject?.simplified_view_enabled) {
     return <LegacyHome {...props} />;
   }