-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary code, such as rendering individual fields
- Loading branch information
Showing
9 changed files
with
186 additions
and
1,042 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...detection_engine/rule_management/components/rule_details/json_diff/sort_stringify_json.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import stringify from 'json-stable-stringify'; | ||
|
||
export const sortAndStringifyJson = (jsObject: Record<string, unknown>): string => | ||
stringify(jsObject, { space: 2 }); |
142 changes: 0 additions & 142 deletions
142
...olution/public/detection_engine/rule_management/components/rule_details/rule_diff_tab.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.