Skip to content

Commit

Permalink
Merge pull request #1678 from weirdwiz/master
Browse files Browse the repository at this point in the history
fix refresh of bucketList page after deleting a bucket
  • Loading branch information
openshift-merge-bot[bot] authored Nov 14, 2024
2 parents 54d935e + d79713a commit 6b8d059
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ export const BucketsListTable: React.FC<BucketsListTableProps> = ({
loaded,
error,
setEmptyBucketResponse,
triggerRefresh,
}) => {
const { t } = useCustomTranslation();
const [favorites, setFavorites] = useUserSettingsLocalStorage<string[]>(
Expand All @@ -242,7 +243,13 @@ export const BucketsListTable: React.FC<BucketsListTableProps> = ({
loadError={error}
isFavorites={true}
variant={TableVariant.compact}
extraProps={{ favorites, setFavorites, setEmptyBucketResponse, launcher }}
extraProps={{
favorites,
setFavorites,
triggerRefresh,
setEmptyBucketResponse,
launcher,
}}
/>
);
};
Expand Down

0 comments on commit 6b8d059

Please sign in to comment.