Skip to content

Commit

Permalink
DEV-46543 GrafanaX hide declare incident (#47)
Browse files Browse the repository at this point in the history
* Disable

* Clean
  • Loading branch information
copyhold authored Oct 8, 2024
1 parent 89a46a1 commit 3b21f73
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ import { getRulesSourceName, isCloudRulesSource, isGrafanaRulesSource } from '..
import {
createExploreLink,
createShareLink,
isLocalDevEnv,
isOpenSourceEdition,
makeRuleBasedSilenceLink,
} from '../../utils/misc';
import * as ruleId from '../../utils/rule-id';
Expand Down Expand Up @@ -333,7 +331,8 @@ export const RuleDetailsActionButtons = ({ rule, rulesSource, isViewMode }: Prop
* We should show it in development mode
*/
function shouldShowDeclareIncidentButton() {
return !isOpenSourceEdition() || isLocalDevEnv();
return false; // LOGZ.IO CHANGE :: DEV-46543 - show not "declare incident"
// return !isOpenSourceEdition() || isLocalDevEnv();
}

export const getStyles = (theme: GrafanaTheme2) => ({
Expand Down

0 comments on commit 3b21f73

Please sign in to comment.