fix(splunk-on-call-plugin): update dependencies versions

This commit is contained in:
Remi
2021-02-07 19:40:16 +01:00
parent f7cba4fee8
commit 3f226acb00
3 changed files with 3933 additions and 4995 deletions
+6 -5
View File
@@ -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 =
+3924 -4987
View File
File diff suppressed because it is too large Load Diff