From 25a8a3b9c8df45abcebcd6a25ec2a036873ee3f4 Mon Sep 17 00:00:00 2001 From: Karel Hala Date: Mon, 2 Nov 2020 13:09:10 +0100 Subject: [PATCH] Fix get all SIDs by using correct function --- src/js/App/GlobalFilter/TagsModal.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/js/App/GlobalFilter/TagsModal.js b/src/js/App/GlobalFilter/TagsModal.js index cdd090d17..1b951bcda 100644 --- a/src/js/App/GlobalFilter/TagsModal.js +++ b/src/js/App/GlobalFilter/TagsModal.js @@ -2,10 +2,9 @@ import React, { useState, useEffect, useCallback } from 'react'; import PropTypes from 'prop-types'; import { useSelector, useDispatch, shallowEqual } from 'react-redux'; import { TagModal } from '@redhat-cloud-services/frontend-components/components/cjs/TagModal'; -import { fetchAllTags } from '../../redux/actions'; +import { fetchAllTags, fetchAllSIDs } from '../../redux/actions'; import debounce from 'lodash/debounce'; import flatMap from 'lodash/flatMap'; -import { getAllSIDs } from './tagsApi'; const useMetaSelector = (key) => useSelector( @@ -135,7 +134,7 @@ const TagsModal = ({ isOpen, filterTagsBy, onApplyTags, toggleModal, selectedTag ), (pagination) => dispatch( - getAllSIDs( + fetchAllSIDs( { registeredWith: filterScope, activeTags: selectedTags,