Browse Source

fix(ui): Monitors -> Crons in titles (#43082)

Evan Purkhiser 2 years ago
parent
commit
a2070ea26d

+ 1 - 1
static/app/views/monitors/create.tsx

@@ -20,7 +20,7 @@ type Props = AsyncView['props'] &
 
 class CreateMonitor extends AsyncView<Props, AsyncView['state']> {
   getTitle() {
-    return `Monitors - ${this.orgSlug}`;
+    return `Crons - ${this.orgSlug}`;
   }
 
   get orgSlug() {

+ 2 - 2
static/app/views/monitors/edit.tsx

@@ -36,9 +36,9 @@ class EditMonitor extends AsyncView<Props, State> {
 
   getTitle() {
     if (this.state.monitor) {
-      return `${this.state.monitor.name} - Monitors - ${this.orgSlug}`;
+      return `${this.state.monitor.name} - Crons - ${this.orgSlug}`;
     }
-    return `Monitors - ${this.orgSlug}`;
+    return `Crons - ${this.orgSlug}`;
   }
 
   renderBody() {

+ 1 - 1
static/app/views/monitors/monitors.tsx

@@ -78,7 +78,7 @@ class Monitors extends AsyncView<Props, State> {
   }
 
   getTitle() {
-    return `Monitors - ${this.orgSlug}`;
+    return `Crons - ${this.orgSlug}`;
   }
 
   onRequestSuccess(response): void {