Skip to content

Commit

Permalink
adds comment describing what recent_iamges_condensed is
Browse files Browse the repository at this point in the history
  • Loading branch information
Carolina Capetillo authored and Carolina Capetillo committed Sep 27, 2023
1 parent 67dc5fb commit 915e43b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/modules/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const getters = {
current_image: state => state.current_image,
recent_images: state => state.recent_images,
user_images: state => state.user_images,
// Uses recent_images but removes any intermediate smartstack frames, so you only see the latest version of each smart stack
recent_images_condensed: state => {
// First, generate a map of maximum SSTKNUM for each SMARTSTK
const maxSSTKNUMs = state.recent_images.reduce((acc, cur) => {
Expand Down

0 comments on commit 915e43b

Please sign in to comment.