Skip to content

Commit

Permalink
Update story
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaksy committed Aug 28, 2023
1 parent 3281a55 commit 46eff3c
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions assets/js/components/HostDetails/HostChecksSelection.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,25 @@ export default {
},
},
onUpdateCatalog: {
action: 'Update catalog',
description: 'Called on mount to load the catalog for the host.',
description: 'Updates the catalog',
},

isSavingSelection: {
description:
'Whether Save Checks Selection button is enabled or disabled',
},

onSaveSelection: {
description: 'Updates the selected checks on save',
},
onSelectedChecksChange: {
description: 'Updates the selected checks',
},
hostChecksExecutionEnabled: {
description: 'Whether start execution button is enabled or disabled',
},
startExecution: {
description: 'Starts the host checks execution',
},
},
};
Expand All @@ -107,6 +124,7 @@ export const Default = {
catalog,
catalogError: null,
catalogLoading: false,
onUpdateCatalog: () => {},
isSavingSelection: false,
hostChecksExecutionEnabled: false,
},
};

0 comments on commit 46eff3c

Please sign in to comment.