Skip to content
Snippets Groups Projects
Commit 0f4af460 authored by Václav Bartoš's avatar Václav Bartoš
Browse files

fixed URL to the new case + some other minor improvements

parent 07510916
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ export function optionsEditor(props) { ...@@ -106,7 +106,7 @@ export function optionsEditor(props) {
</EuiFormRow> </EuiFormRow>
<EuiFlexGroup> <EuiFlexGroup>
<EuiFlexItem grow={1}> <EuiFlexItem grow={1}>
<EuiFormRow label="API key to access The Hive" helpText="API key of a user with write permission."> <EuiFormRow label="API key to access The Hive" helpText="API key of a user with permission to create cases (not admin).">
<EuiFieldText <EuiFieldText
fullWidth={true} fullWidth={true}
value={stateParams.apikey} value={stateParams.apikey}
......
...@@ -11,9 +11,6 @@ import { calculateObjectHash } from 'ui/vis/lib/calculate_object_hash'; ...@@ -11,9 +11,6 @@ import { calculateObjectHash } from 'ui/vis/lib/calculate_object_hash';
import { getRequestInspectorStats, getResponseInspectorStats } from 'ui/courier/utils/courier_inspector_utils'; import { getRequestInspectorStats, getResponseInspectorStats } from 'ui/courier/utils/courier_inspector_utils';
import chrome from 'ui/chrome'; import chrome from 'ui/chrome';
// Maximum number of unique values of each field (observables) to fetch
const MAX_NUMBER_OF_TERMS = 5;
const handleCourierRequest = courierRequestHandlerProvider().handler; const handleCourierRequest = courierRequestHandlerProvider().handler;
// Register new RaquestHandlerProvider // Register new RaquestHandlerProvider
......
...@@ -283,7 +283,7 @@ class NewCaseButton extends Component { ...@@ -283,7 +283,7 @@ class NewCaseButton extends Component {
console.log("TheHiveButton: Case created:", resp); console.log("TheHiveButton: Case created:", resp);
const case_id = resp.id; const case_id = resp.id;
const case_url = base_url + "index.html#/case/" + case_id + "/details"; const case_url = base_url + "index.html#/case!/" + case_id + "/details";
// Show notification // Show notification
let obs_text; let obs_text;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment