Browse Source

fix(monitors): Fix bad org slug read which prevented monitors from being edited (#41814)

Fixes JAVASCRIPT-2BD7
Malachi Willey 2 years ago
parent
commit
4715f1fb88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/monitors/edit.tsx

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

@@ -20,7 +20,7 @@ type State = AsyncView['state'] & {
 
 class EditMonitor extends AsyncView<Props, State> {
   get orgSlug() {
-    return this.context.organization.slug;
+    return this.props.organization.slug;
   }
 
   getEndpoints(): ReturnType<AsyncView['getEndpoints']> {