fix(splunk-on-call-plugin): typos

This commit is contained in:
Remi
2021-02-16 10:25:21 +01:00
parent 0379c78b16
commit de606ccfed
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ Add it to the app in `plugins.ts`:
export { plugin as SplunkOnCall } from '@backstage/plugin-splunk-on-call';
```
Add it to the `EntityPage.ts`:
Add it to the `EntityPage.tsx`:
```ts
import {
-2
View File
@@ -44,13 +44,11 @@ export type TriggerAlarmRequest = {
export interface SplunkOnCallApi {
/**
* Fetches a list of incidents
*
*/
getIncidents(): Promise<Incident[]>;
/**
* Fetches the list of users in an escalation policy.
*
*/
getOnCallUsers(): Promise<OnCall[]>;
@@ -69,7 +69,7 @@ export const MissingUsername = () => (
<EmptyState
title="No Splunk On-Call user available."
missing="info"
description="You need to add a valid username to your 'app.config.yml' if you want to enable Splunk On-Call. Make sure that the user is a member of your organization."
description="You need to add a valid username to your 'app-config.yaml' if you want to enable Splunk On-Call. Make sure that the user is a member of your organization."
/>
</CardContent>
);
@@ -297,8 +297,8 @@ export const TriggerDialog = ({
inputProps={{ 'data-testid': 'trigger-select-behavior' }}
>
<MenuItem value="1">
Stop paging after a single Acknowledge from an escalation policy
or user
Stop paging after a single escalation policy or user has
acknowledged
</MenuItem>
<MenuItem value="0">
Continue paging until each escalation policy or user above has