Skip to content

Commit

Permalink
Merge branch 'develop' into feature/external-login
Browse files Browse the repository at this point in the history
  • Loading branch information
tuj authored Jan 22, 2024
2 parents c0556e8 + 6018974 commit d4c306b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

- Added fetch all to avoid removing slides when saving playlist and all slides have not been fetched.
- [#220](https://github.com/os2display/display-admin-client/pull/220)
- Adds CRUD flows for external users and activation codes.
- Added login and activation flow for external users.
Expand Down
5 changes: 5 additions & 0 deletions src/components/util/multi-and-table/select-slides-table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ function SelectSlidesTable({ handleChange, name, slideId }) {
return slide;
});
setSelectedData([...selectedData, ...newSlides]);

// Get all selected slides. If a next page is defined, get the next page.
if (data["hydra:view"]["hydra:next"]) {
setPage(page + 1);
}
}
}, [data]);

Expand Down

0 comments on commit d4c306b

Please sign in to comment.