some fixes
This commit is contained in:
parent
63f2a293f9
commit
468d61b130
@ -1,6 +1,6 @@
|
||||
const userLites = [
|
||||
{
|
||||
uuid: "0",
|
||||
uuid: "",
|
||||
emailAddress: "cth0604@gmail.com",
|
||||
name: "Taehee Choi",
|
||||
role: "Front-end Dev",
|
||||
@ -45,9 +45,9 @@ const userLites = [
|
||||
|
||||
const meetings = [
|
||||
{
|
||||
meetingId: "0",
|
||||
meetingId: "",
|
||||
liveParticipantIds: [],
|
||||
registrantIds: ["0", "1", "2", "3", "4", "5", "6"],
|
||||
registrantIds: ["", "1", "2", "3", "4", "5", "6"],
|
||||
start: "2022-03-13T17:00:00",
|
||||
duration: 15,
|
||||
timezone: "",
|
||||
@ -57,7 +57,7 @@ const meetings = [
|
||||
{
|
||||
meetingId: "1",
|
||||
liveParticipantIds: [],
|
||||
registrantIds: ["0", "2", "4"],
|
||||
registrantIds: ["", "2", "4"],
|
||||
start: "2022-03-16T17:30:00",
|
||||
duration: 30,
|
||||
timezone: "",
|
||||
@ -77,7 +77,7 @@ const meetings = [
|
||||
{
|
||||
meetingId: "3",
|
||||
liveParticipantIds: [],
|
||||
registrantIds: ["0", "1"],
|
||||
registrantIds: ["", "1"],
|
||||
start: "2022-03-10T07:27:27",
|
||||
duration: 727,
|
||||
timezone: "",
|
||||
@ -87,7 +87,7 @@ const meetings = [
|
||||
{
|
||||
meetingId: "4",
|
||||
liveParticipantIds: [],
|
||||
registrantIds: ["0", "2", "3"],
|
||||
registrantIds: ["", "2", "3"],
|
||||
start: "2022-03-10T12:30:00",
|
||||
duration: 120,
|
||||
timezone: "",
|
||||
@ -96,8 +96,8 @@ const meetings = [
|
||||
},
|
||||
{
|
||||
meetingId: "5",
|
||||
liveParticipantIds: ["0"],
|
||||
registrantIds: ["0"],
|
||||
liveParticipantIds: [""],
|
||||
registrantIds: [""],
|
||||
start: "2022-03-24T23:11:11",
|
||||
duration: 11,
|
||||
timezone: "",
|
||||
@ -106,8 +106,8 @@ const meetings = [
|
||||
},
|
||||
{
|
||||
meetingId: "6",
|
||||
liveParticipantIds: ["0", "1"],
|
||||
registrantIds: ["0", "1", "2", "3", "4", "5"],
|
||||
liveParticipantIds: ["", "1"],
|
||||
registrantIds: ["", "1", "2", "3", "4", "5"],
|
||||
start: "2022-03-25T09:00:00",
|
||||
duration: 360,
|
||||
timezone: "",
|
||||
@ -117,7 +117,7 @@ const meetings = [
|
||||
{
|
||||
meetingId: "7",
|
||||
liveParticipantIds: [],
|
||||
registrantIds: ["0", "5"],
|
||||
registrantIds: ["", "5"],
|
||||
start: "2022-03-25T15:00:00",
|
||||
duration: 150,
|
||||
timezone: "",
|
||||
@ -127,7 +127,7 @@ const meetings = [
|
||||
{
|
||||
meetingId: "8",
|
||||
liveParticipantIds: ["2"],
|
||||
registrantIds: ["0", "5", "2", "3"],
|
||||
registrantIds: ["", "5", "2", "3"],
|
||||
start: "2022-03-25T17:45:00",
|
||||
duration: 60,
|
||||
timezone: "",
|
||||
@ -137,7 +137,7 @@ const meetings = [
|
||||
{
|
||||
meetingId: "9",
|
||||
liveParticipantIds: ["2", "5"],
|
||||
registrantIds: ["0", "4"],
|
||||
registrantIds: ["", "4"],
|
||||
start: "2022-03-25T18:15:30",
|
||||
duration: 75,
|
||||
timezone: "",
|
||||
@ -147,13 +147,13 @@ const meetings = [
|
||||
{
|
||||
meetingId: "10",
|
||||
liveParticipantIds: [],
|
||||
registrantIds: ["0", "1", "2", "3", "4", "5", "6"],
|
||||
registrantIds: ["", "1", "2", "3", "4", "5", "6"],
|
||||
start: "2022-04-04T18:30:00",
|
||||
duration: 90,
|
||||
timezone: "",
|
||||
joinUrl: "",
|
||||
topic: "MVP Deadline",
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
const team = {
|
||||
|
||||
@ -80,7 +80,7 @@ export const selectUser = (
|
||||
state: RootState,
|
||||
uuid: string | undefined
|
||||
): UserLite | undefined => {
|
||||
return uuid ? state.users.users[uuid] : undefined;
|
||||
return uuid !== undefined ? state.users.users[uuid] : undefined;
|
||||
};
|
||||
export const selectUsers = (state: RootState, uuids: string[]): UserLite[] => {
|
||||
const users: UserLite[] = [];
|
||||
@ -96,6 +96,5 @@ export const selectTeam = (state: RootState) => {
|
||||
state.users.team.directReports.forEach((u) => team.push(u));
|
||||
return team;
|
||||
};
|
||||
export const selectMe = (state: RootState) => state.users.team.user;
|
||||
|
||||
export default usersSlice.reducer;
|
||||
|
||||
Reference in New Issue
Block a user