Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

[Front] Merge PhotoList | MovePhoto onSuccess - [Back] ProductPostMovePhoto #111

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

Aloento
Copy link
Owner

@Aloento Aloento commented Feb 28, 2024

No description provided.

…nctionality

Renamed `orders` to `photos` in `ProductPostMovePhoto` method in `AdminHub` class for clarity. Updated version numbers in comments across multiple files. Added new `refresh` function in `useSWR` function, replacing previous logic. `AdminProductPhotoAction` function now takes `ProductId` as a prop and updates photo list after a photo is moved. `AdminProductPhoto` function maps data to a new `list` variable used as `Items` prop for `DelegateDataGrid` component. Similar mapping done in `ProductCarousel` function. Changed log message in `PhotoList` method from warning to debug and updated parameters for `useSWR` function in `usePhotoList` method.
@Aloento Aloento self-assigned this Feb 28, 2024
@Aloento Aloento merged commit d96e7d9 into master Feb 28, 2024
1 check passed
@Aloento Aloento deleted the Dev branch February 28, 2024 15:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant