Skip to content

Commit

Permalink
Merge pull request #444 from credebl/refactor-bulk-issuance
Browse files Browse the repository at this point in the history
refactor: bulk issuance
  • Loading branch information
nishad-ayanworks authored Nov 23, 2023
2 parents b174138 + 5826a2f commit 282f173
Show file tree
Hide file tree
Showing 13 changed files with 508 additions and 445 deletions.
3 changes: 1 addition & 2 deletions src/api/BulkIssuance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ export const getSchemaCredDef = async () => {
}
};

export const DownloadCsvTemplate = async () => {
export const DownloadCsvTemplate = async (credDefId: string) => {
const orgId = await getFromLocalStorage(storageKeys.ORG_ID);
const credDefId = await getFromLocalStorage(storageKeys.CRED_DEF_ID);
const url = `${apiRoutes.organizations.root}/${orgId}/${credDefId}${apiRoutes.Issuance.download}`;

const axiosPayload = {
Expand Down
16 changes: 13 additions & 3 deletions src/common/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ ul[role="tablist"] li[role="presentation"] button[aria-selected="true"] {
@apply text-primary-700 border-primary-700;
}

button.role-btn span {
@apply overflow-hidden;
border-radius: 8px;
padding-top: 6.5px;
padding-bottom: 6.5px;
}

.word-break-word{
word-break: break-word !important;
}
Expand Down Expand Up @@ -103,7 +110,7 @@ ul.timelinestatic {
}

.search-dropdown .select__control .select__placeholder {
@apply absolute flex items-start;
@apply absolute flex items-start ml-2;
}

.search-dropdown .select__control .select__value-container{
Expand All @@ -112,8 +119,11 @@ ul.timelinestatic {
}

.select__single-value{
@apply !text-primary-700;
width: calc(100% - 5px);
@apply dark:!text-white !text-primary-700 w-fit;
}

.select__value-container .select__value-container--has-value .select__single-value {
@apply w-fit;
}

.search-dropdown{
Expand Down
Loading

0 comments on commit 282f173

Please sign in to comment.