integration page follow ups (#912)

### Internals

- Replace `lodash.*` packages with plain `lodash` & replace `lodash.*` imports with `lodash/` - should have no impact on bundle size and opens up for us to use all of lodash
- Update `viewer.me` to cherry-pick what we actually need on that query to avoid leaking extra context info
- Update `getIntegrations` to never include `.key`-property to avoid leaking 

### Visual

- Update calendars so `primary` is displayed last
- Update connected calendars so they are in ascending order in which you connected them
This commit is contained in:
Alex Johansson authored and GitHub committed 2021-10-13 13:35:25 +02:00
1 parent 9e2f8de313
commit ec6b897191
18 files changed
+146 -147

No files matched your search

+3
View File
@@ -38,6 +38,9 @@ async function getUserFromSession({ session, req }: { session: Maybe<Session>; r
type: true,
key: true,
},
orderBy: {
id: "asc",
},
},
selectedCalendars: {
select: {