Changeset faff334 for redux


Ignore:
Timestamp:
07/18/22 13:59:55 (23 months ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
22367db
Parents:
e903234
Message:

Ability for admin to watch live games and for user to see games history

Location:
redux/reducers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • redux/reducers/adminInformationSlice.js

    re903234 rfaff334  
    77        answerForComplaint: '',
    88        liveGames: {
    9             blackjack: [],
    10             roulette: [],
    11             poker: [],
     9            blackjack: {
     10                rooms: [],
     11            },
     12            roulette: {
     13                players: [],
     14            },
     15            poker: {
     16                tables: [],
     17            },
    1218        },
    1319    },
  • redux/reducers/styleSlice.js

    re903234 rfaff334  
    8383            show: false,
    8484            message: ''
    85         }
     85        },
     86        // games history
     87        displayGamesHistoryScreen: false,
     88        gamesHistory: {
     89            blackjack: {
     90                rooms: [],
     91            },
     92            roulette: {
     93                games: [],
     94            },
     95            poker: {
     96                tables: [],
     97            },
     98        },
    8699    },
    87100    // blackjack
     
    143156            text3: ''
    144157        }
    145     }
     158    },
    146159}
    147160
Note: See TracChangeset for help on using the changeset viewer.