Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard and issuance change #176

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Issuance/IssuedCrdentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const CredentialList = () => {
<div className="mb-4 col-span-full xl:mb-2">
<BreadCrumbs />
<h1 className="ml-1 text-xl font-semibold text-gray-900 sm:text-2xl dark:text-white">
Issued Credentials
Credentials Issued
</h1>
</div>
<div>
Expand Down
18 changes: 12 additions & 6 deletions src/components/User/UserDashBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ const UserDashBoard = () => {
})
}



<a
{
organizationsList && organizationsList?.length > 0 && (
<a
href="/organizations"
className="float-right inline-flex items-center p-2 text-sm font-medium rounded-lg text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700"
>
View More..
</a>

)}
</div>

</div>
Expand Down Expand Up @@ -234,8 +234,14 @@ const UserDashBoard = () => {
<div className="flex items-center justify-between mb-4">
<h3 className="pl-12 text-lg font-semibold text-gray-900 dark:text-white">
Recent Activity
</h3>

{
activityList && activityList?.length===0 && (
<div className="px-2 py-1 text-black-800 text-xs">
Looks like there are no activities to display at the moment.
</div>
)
}
</h3>
</div>
{
activityList
Expand Down
10 changes: 5 additions & 5 deletions src/config/pathRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ export const pathRoutes = {
root: '/organizations',
invitations: '/organizations/invitations',
users: '/organizations/users',
issuedCredentials: '/organizations/issued-credentials',
issuedCredentials: '/organizations/credentials-issued',
credentials: '/organizations/verification',
schemas: `/organizations/schemas`,
dashboard: '/organizations/dashboard',
createSchema: '/organizations/schemas/create',
viewSchema: '/organizations/schemas/view-schema',
Issuance: {
schema: '/organizations/issued-credentials/schemas',
credDef:'/organizations/issued-credentials/schemas/cred-defs',
connections:'/organizations/issued-credentials/schemas/cred-defs/connections',
issuance:'/organizations/issued-credentials/schemas/cred-defs/connections/issuance'
schema: '/organizations/credentials-issued/schemas',
credDef:'/organizations/credentials-issued/schemas/cred-defs',
connections:'/organizations/credentials-issued/schemas/cred-defs/connections',
issuance:'/organizations/credentials-issued/schemas/cred-defs/connections/issuance'
},
verification: {
schema: '/organizations/verification/schemas',
Expand Down