Browse Source

fix(alerts): Disable edit alert rule button (#20279)

Scott Cooper 4 years ago
parent
commit
364225243f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/sentry/static/sentry/app/views/alerts/rules/row.tsx

+ 1 - 0
src/sentry/static/sentry/app/views/alerts/rules/row.tsx

@@ -79,6 +79,7 @@ class RuleListRow extends React.Component<Props, State> {
                     />
                   </Confirm>
                   <Button
+                    disabled={!hasAccess}
                     size="small"
                     icon={<IconSettings />}
                     title={t('Edit')}