Skip to content

Commit

Permalink
[frontend] Fix trigger background task on entity knowledge indicators (
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat committed Nov 14, 2023
1 parent d1abb33 commit 13dc68c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ const EntityStixCoreRelationshipsIndicatorsEntitiesView: FunctionComponent<Entit
indicates: [{ id: entityId, value: entityId }],
});

const toolBarFilters = {
...cleanedFilters,
entity_type: [{ id: 'Indicator', value: 'Indicator' }],
indicates: [{ id: entityId, value: entityId }],
};

const paginationOptions = {
search: searchTerm,
orderBy: (sortBy && (sortBy in dataColumns) && dataColumns[sortBy].isSortable) ? sortBy : 'name',
Expand Down Expand Up @@ -186,7 +192,7 @@ const EntityStixCoreRelationshipsIndicatorsEntitiesView: FunctionComponent<Entit
deSelectedElements={deSelectedElements}
numberOfSelectedElements={numberOfSelectedElements}
selectAll={selectAll}
filters={cleanedFilters}
filters={toolBarFilters}
search={searchTerm}
handleClearSelectedElements={handleClearSelectedElements}
variant="medium"
Expand Down

0 comments on commit 13dc68c

Please sign in to comment.