Merge remote-tracking branch 'origin/main' into bug/len

This commit is contained in:
Dan 2023-02-13 10:35:20 -05:00
commit 9a0880f281
3 changed files with 309 additions and 286 deletions

View File

@ -1,54 +1,44 @@
email,spiffworkflow-employeeid
admin@spiffworkflow.org
amir@status.im
app.program.lead@status.im
app.program.lead@status.im,121
core@status.im,113
core1.contributor@status.im,155
core2.contributor@status.im,156
core3.contributor@status.im,157
core4.contributor@status.im,158
core5.contributor@status.im,159
dao.project.lead@status.im
desktop.program.lead@status.im
desktop.project.lead@status.im
fin1@status.im
fin@status.im,118
finance.lead@status.im,1182
finance.lead@status.im,1289
finance.lead@status.im,128
finance_user1@status.im
harmeet@status.im,109
infra.program-lead@status.im
infra.project-lead@status.im
infra.sme@status.im,1202
infra1.sme@status.im
infra2.sme@status.im
infra.project-lead@status.im,130
infra.sme@status.im,119
infra1.sme@status.im,131
infra2.sme@status.im,132
jakub@status.im
jarrad@status.im
lead1@status.im
lead@status.im,1140
legal.lead@status.im,1243
legal.program-lead.sme@status.im
legal.program-lead@status.im
legal.project-lead.sme@status.im
legal.project-lead@status.im
legal.sme1@status.im,1345
legal.sme@status.im,1253
legal1.sme@status.im
lead@status.im,114
legal.project-lead@status.im,133
legal.sme@status.im,125
legal1.sme@status.im,134
manuchehr@status.im,110
peopleops.program-lead@status.im,146
peopleops.project-lead@status.im,147
peopleops.partner.sme@status.im,148
peopleops.partner1.sme@status.im,149
peopleops.partner@status.im,150
peopleops.talent.sme@status.im
peopleops.talent1.sme@status.im
peopleops.talent.sme@status.im,143
peopleops.talent1.sme@status.im,142
peopleops.talent@status.im,141
ppg.ba.program-lead@status.im
ppg.ba.project-lead@status.im
ppg.ba.sme1@status.im,1398
ppg.ba.project-lead@status.im,137
ppg.ba.sme1@status.im,139
ppg.ba.sme@status.im,138
ppg.ba@status.im,1276
program.lead@status.im,1211
ppg.ba@status.im,127
sasha@status.im,112
security.program-lead.sme@status.im
security.program-lead@status.im
security.project-lead.sme@status.im
security.project-lead@status.im
security.sme@status.im,1230
security1.sme@status.im
services.lead@status.im
security.project-lead@status.im,151
security.sme@status.im,123
security1.sme@status.im,135
services.lead@status.im,122

View File

@ -1,13 +1,11 @@
import { useEffect, useState } from 'react';
// @ts-ignore
import { Table } from '@carbon/react';
import useAPIError from '../hooks/UseApiError';
import { AuthenticationItem } from '../interfaces';
import HttpService from '../services/HttpService';
import UserService from '../services/UserService';
export default function AuthenticationList() {
const { addError } = useAPIError();
const [authenticationList, setAuthenticationList] = useState<
AuthenticationItem[] | null
>(null);
@ -25,9 +23,8 @@ export default function AuthenticationList() {
HttpService.makeCallToBackend({
path: `/authentications`,
successCallback: processResult,
failureCallback: addError,
});
}, [addError]);
}, []);
const buildTable = () => {
if (authenticationList) {