X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/45cfc5acaa27151778f245bce76b027c06698b3d..d6d85de50096eb0053d58c5022fd4e949c830929:/src/store/favorites/favorites-actions.ts diff --git a/src/store/favorites/favorites-actions.ts b/src/store/favorites/favorites-actions.ts index 9e1b3ef1..57eecf8f 100644 --- a/src/store/favorites/favorites-actions.ts +++ b/src/store/favorites/favorites-actions.ts @@ -40,7 +40,7 @@ export const toggleFavorite = (resource: { uuid: string; name: string }) => }); }; -export const checkPresenceInFavorites = (resourceUuids: string[]) => +export const updateFavorites = (resourceUuids: string[]) => (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { const userUuid = getState().auth.user!.uuid; dispatch(favoritesActions.CHECK_PRESENCE_IN_FAVORITES(resourceUuids)); @@ -50,4 +50,3 @@ export const checkPresenceInFavorites = (resourceUuids: string[]) => dispatch(favoritesActions.UPDATE_FAVORITES(results)); }); }; -