Explorar o código

fix condition

Feroze Mohideen %!s(int64=2) %!d(string=hai) anos
pai
achega
2b9929ab65
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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} />;
   }