diff --git a/packages/hoppscotch-sh-admin/src/components.d.ts b/packages/hoppscotch-sh-admin/src/components.d.ts index e04de87a2..963c86ccd 100644 --- a/packages/hoppscotch-sh-admin/src/components.d.ts +++ b/packages/hoppscotch-sh-admin/src/components.d.ts @@ -1,38 +1,38 @@ // generated by unplugin-vue-components // We suggest you to commit this file into source control // Read more: https://github.com/vuejs/core/pull/3399 -import '@vue/runtime-core'; +import '@vue/runtime-core' -export {}; +export {} declare module '@vue/runtime-core' { export interface GlobalComponents { - AppHeader: typeof import('./components/app/Header.vue')['default']; - AppLogin: typeof import('./components/app/Login.vue')['default']; - AppLogout: typeof import('./components/app/Logout.vue')['default']; - AppModal: typeof import('./components/app/Modal.vue')['default']; - AppSidebar: typeof import('./components/app/Sidebar.vue')['default']; - AppToast: typeof import('./components/app/Toast.vue')['default']; - HoppButtonPrimary: typeof import('@hoppscotch/ui')['HoppButtonPrimary']; - HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary']; - HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor']; - HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal']; - HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem']; - IconLucideBell: typeof import('~icons/lucide/bell')['default']; - IconLucideInbox: typeof import('~icons/lucide/inbox')['default']; - IconLucideLayoutDashboard: typeof import('~icons/lucide/layout-dashboard')['default']; - IconLucideLineChart: typeof import('~icons/lucide/line-chart')['default']; - IconLucideLock: typeof import('~icons/lucide/lock')['default']; - IconLucideMenu: typeof import('~icons/lucide/menu')['default']; - IconLucideSettings: typeof import('~icons/lucide/settings')['default']; - IconLucideSidebarClose: typeof import('~icons/lucide/sidebar-close')['default']; - IconLucideSidebarOpen: typeof import('~icons/lucide/sidebar-open')['default']; - IconLucideUser: typeof import('~icons/lucide/user')['default']; - IconLucideUserCog: typeof import('~icons/lucide/user-cog')['default']; - IconLucideUsers: typeof import('~icons/lucide/users')['default']; - ProfilePicture: typeof import('./components/profile/Picture.vue')['default']; - RouterLink: typeof import('vue-router')['RouterLink']; - RouterView: typeof import('vue-router')['RouterView']; - TeamsAddMembers: typeof import('./components/teams/AddMembers.vue')['default']; + AppHeader: typeof import('./components/app/Header.vue')['default'] + AppLogin: typeof import('./components/app/Login.vue')['default'] + AppLogout: typeof import('./components/app/Logout.vue')['default'] + AppModal: typeof import('./components/app/Modal.vue')['default'] + AppSidebar: typeof import('./components/app/Sidebar.vue')['default'] + AppToast: typeof import('./components/app/Toast.vue')['default'] + HoppButtonPrimary: typeof import('@hoppscotch/ui')['HoppButtonPrimary'] + HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary'] + HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor'] + HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal'] + HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem'] + HoppSmartModal: typeof import('@hoppscotch/ui')['HoppSmartModal'] + HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner'] + IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default'] + IconLucideInbox: typeof import('~icons/lucide/inbox')['default'] + IconLucideLayoutDashboard: typeof import('~icons/lucide/layout-dashboard')['default'] + IconLucideMenu: typeof import('~icons/lucide/menu')['default'] + IconLucideMoreHorizontal: typeof import('~icons/lucide/more-horizontal')['default'] + IconLucideSidebarClose: typeof import('~icons/lucide/sidebar-close')['default'] + IconLucideSidebarOpen: typeof import('~icons/lucide/sidebar-open')['default'] + IconLucideUser: typeof import('~icons/lucide/user')['default'] + IconLucideUsers: typeof import('~icons/lucide/users')['default'] + ProfilePicture: typeof import('./components/profile/Picture.vue')['default'] + RouterLink: typeof import('vue-router')['RouterLink'] + RouterView: typeof import('vue-router')['RouterView'] + TeamsAddMembers: typeof import('./components/teams/AddMembers.vue')['default'] } + } diff --git a/packages/hoppscotch-sh-admin/src/components/app/Header.vue b/packages/hoppscotch-sh-admin/src/components/app/Header.vue index a2aa98fa9..53a3c7218 100644 --- a/packages/hoppscotch-sh-admin/src/components/app/Header.vue +++ b/packages/hoppscotch-sh-admin/src/components/app/Header.vue @@ -22,10 +22,6 @@
No Invited Users Found
+No Invited Users Found..
| Admin ID | -Admin Email | -Invitee Email | -Invited On | +Admin ID | +Admin Email | +Invitee Email | +Invited On |
-
-
+
+ |
-
+
{{ user?.adminUid }}
- |
+
+
{{ user?.adminEmail }}
-
+
|
-
- {{ user?.inviteeEmail }}
+ |
+
+ {{ user?.inviteeEmail }}
+
|
- |
+
{{ getCreatedDate(user?.invitedOn) }}
-
+
@@ -78,6 +88,9 @@ import { useQuery } from '@urql/vue';
import { InvitedUsersDocument } from '../../helpers/backend/graphql';
import { format } from 'date-fns';
import { HoppSmartSpinner } from '@hoppscotch/ui';
+import { useRouter } from 'vue-router';
+
+const router = useRouter();
// Get Proper Date Formats
const getCreatedDate = (date: string) => format(new Date(date), 'dd-MM-yyyy');
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 03ddd4104..e7f2b729e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8853,7 +8853,7 @@ packages:
hasBin: true
/after/0.8.2:
- resolution: {integrity: sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=}
+ resolution: {integrity: sha512-QbJ0NTQ/I9DI3uSJA4cbexiwQeRAfjPScqIbSjUDd9TOrcg6pTkdgziesOqxBMBzit8vFCTwrP27t13vFOORRA==}
dev: false
/agent-base/6.0.2:
@@ -9462,7 +9462,7 @@ packages:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
/base64-arraybuffer/0.1.4:
- resolution: {integrity: sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=}
+ resolution: {integrity: sha512-a1eIFi4R9ySrbiMuyTGx5e92uRH5tQY6kArNcFaKBUleIoLjdjBg7Zxm3Mqm3Kmkf27HLR/1fnxX9q8GQ7Iavg==}
engines: {node: '>= 0.6.0'}
dev: false
@@ -10086,14 +10086,14 @@ packages:
dev: true
/component-bind/1.0.0:
- resolution: {integrity: sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=}
+ resolution: {integrity: sha512-WZveuKPeKAG9qY+FkYDeADzdHyTYdIboXS59ixDeRJL5ZhxpqUnxSOwop4FQjMsiYm3/Or8cegVbpAHNA7pHxw==}
dev: false
/component-emitter/1.3.0:
resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==}
/component-inherit/0.0.3:
- resolution: {integrity: sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=}
+ resolution: {integrity: sha512-w+LhYREhatpVqTESyGFg3NlP6Iu0kEKUHETY9GoZP/pQyW4mHFZuFWRUCIqVPZ36ueVLtoOEZaAqbCF2RDndaA==}
dev: false
/concat-map/0.0.1:
@@ -13382,7 +13382,7 @@ packages:
dev: false
/has-cors/1.1.0:
- resolution: {integrity: sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=}
+ resolution: {integrity: sha512-g5VNKdkFuUuVCP9gYfDJHjK2nqdQJ7aDLTnycnc2+RvsOQbuLdF5pm7vuE5J76SEBIQjs4kQY/BWq74JUmjbXA==}
dev: false
/has-flag/3.0.0:
@@ -13775,7 +13775,7 @@ packages:
engines: {node: '>=8'}
/indexof/0.0.1:
- resolution: {integrity: sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=}
+ resolution: {integrity: sha512-i0G7hLJ1z0DE8dsqJa2rycj9dBmNKgXBvotXtZYXakU9oivfB9Uj2ZBC27qqef2U58/ZLwalxa1X/RDCdkHtVg==}
dev: false
/inflight/1.0.6:
@@ -19407,7 +19407,7 @@ packages:
dev: true
/to-array/0.1.4:
- resolution: {integrity: sha1-F+bBH3PdTz10zaek/zI46a2b+JA=}
+ resolution: {integrity: sha512-LhVdShQD/4Mk4zXNroIQZJC+Ap3zgLcDuwEdcmLv9CCO73NWockQDwyUnW/m8VX/EElfL6FcYx7EeutN4HJA6A==}
dev: false
/to-fast-properties/2.0.0:
@@ -22226,7 +22226,7 @@ packages:
dev: false
/yeast/0.1.2:
- resolution: {integrity: sha1-AI4G2AlDIMNy28L47XagymyKxBk=}
+ resolution: {integrity: sha512-8HFIh676uyGYP6wP13R/j6OJ/1HwJ46snpvzE7aHAN3Ryqh2yX6Xox2B4CUmTwwOIzlG3Bs7ocsP5dZH/R1Qbg==}
dev: false
/yn/3.1.1:
{{ getCreatedTime(user?.invitedOn) }}
|
|---|