Selaa lähdekoodia

change 'is' to 'was' for notifications (#4344)

d-g-town 2 vuotta sitten
vanhempi
sitoutus
a3c298b419

+ 1 - 1
dashboard/src/main/home/app-dashboard/app-view/tabs/notifications/NotificationTile.tsx

@@ -53,7 +53,7 @@ const NotificationTile: React.FC<Props> = ({
           ? "A service failed to deploy"
           : ["job", "predeploy"].includes(n.service.config.type)
           ? "A job run encountered issues"
-          : "A service is unhealthy";
+          : "A service was unhealthy";
       })
       .with({ scope: "APPLICATION" }, () => {
         return "The application failed to deploy";

+ 1 - 1
dashboard/src/main/home/app-dashboard/app-view/tabs/notifications/expanded-views/ServiceNotificationExpandedView.tsx

@@ -61,7 +61,7 @@ const ServiceNotificationExpandedView: React.FC<Props> = ({
             <Text size={16} color={"#FFBF00"}>
               {notification.isDeployRelated
                 ? "failed to deploy"
-                : "is unhealthy"}
+                : "was unhealthy"}
             </Text>
           </Container>
           {notification.service.config.type === "job" && (