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