Send platform parameter when creating labels (#1179)
* Catches errors when polling for data on Manage Hosts Page * Sends platform parameter to server on label create * Remove unnecessary condition to format platform param * Clean up scheduled query formData
This commit is contained in:
@@ -11,7 +11,7 @@ import validate from 'components/forms/ConfigurePackQueryForm/validate';
|
||||
const baseClass = 'configure-pack-query-form';
|
||||
const fieldNames = ['query_id', 'interval', 'logging_type', 'platform', 'shard', 'version'];
|
||||
const platformOptions = [
|
||||
{ label: 'All', value: 'all' },
|
||||
{ label: 'All', value: '' },
|
||||
{ label: 'Windows', value: 'windows' },
|
||||
{ label: 'Linux', value: 'linux' },
|
||||
{ label: 'macOS', value: 'darwin' },
|
||||
|
||||
Reference in New Issue
Block a user