fix(splunk-on-call-plugin): update dependencies versions
This commit is contained in:
@@ -30,9 +30,10 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.7.0",
|
||||
"@backstage/core": "^0.5.0",
|
||||
"@backstage/theme": "^0.2.2",
|
||||
"@backstage/catalog-model": "^0.7.1",
|
||||
"@backstage/plugin-catalog-react": "^0.0.2",
|
||||
"@backstage/core": "^0.6.0",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.45",
|
||||
@@ -44,8 +45,8 @@
|
||||
"react-use": "^15.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.5.0",
|
||||
"@backstage/dev-utils": "^0.1.8",
|
||||
"@backstage/cli": "^0.6.0",
|
||||
"@backstage/dev-utils": "^0.1.9",
|
||||
"@backstage/test-utils": "^0.1.6",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^10.4.1",
|
||||
|
||||
@@ -100,8 +100,8 @@ export const SplunkOnCallCard = ({ entity }: Props) => {
|
||||
}, []);
|
||||
|
||||
const { value: users, loading, error } = useAsync(async () => {
|
||||
const users = await api.getUsers();
|
||||
const usersHashMap = users.reduce(
|
||||
const allUsers = await api.getUsers();
|
||||
const usersHashMap = allUsers.reduce(
|
||||
(map: Record<string, User>, obj: User) => {
|
||||
if (obj.username) {
|
||||
map[obj.username] = obj;
|
||||
@@ -110,7 +110,7 @@ export const SplunkOnCallCard = ({ entity }: Props) => {
|
||||
},
|
||||
{},
|
||||
);
|
||||
return { usersHashMap, userList: users };
|
||||
return { usersHashMap, userList: allUsers };
|
||||
});
|
||||
|
||||
const incidentCreator =
|
||||
|
||||
Reference in New Issue
Block a user