Skip to content

Commit

Permalink
Allow more text for descriptions #317
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Sep 30, 2024
1 parent 5659f1b commit de7ec31
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions interface/utils/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ export const textConverter = (text: string, sortNumber: number): LibImportFile =
if (data[i].startsWith("Name")) {
const name = data[i].slice(8).trim()

if (name.length > 40) {
names.push(`${name.slice(0, 38)}...`)
} else {
names.push(name)
}
names.push(name)
}

// Push secrets to array
Expand Down Expand Up @@ -74,11 +70,7 @@ export const textConverter = (text: string, sortNumber: number): LibImportFile =
if (data[i].startsWith("Issuer")) {
const issuer = data[i].slice(8).trim()

if (issuer.length > 16) {
issuers.push(`${issuer.slice(0, 14)}...`)
} else {
issuers.push(issuer)
}
issuers.push(issuer)
}

// Push types to array
Expand Down

0 comments on commit de7ec31

Please sign in to comment.