mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
d1a18bcb89
* Allow form field values to be an array * Send the server host and label ids on create * Get and display the targets in a pack * Adds target_type to labels and hosts * Allow updating a pack’s targets as well as name and description * Adds select targets dropdown to edit pack page * Adds targets to dropdown when pack is edited
6 lines
197 B
JavaScript
6 lines
197 B
JavaScript
import { PropTypes } from 'react';
|
|
import hostInterface from 'interfaces/host';
|
|
import labelInterface from 'interfaces/label';
|
|
|
|
export default PropTypes.oneOfType([hostInterface, labelInterface]);
|