mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-22 07:46:15 -04:00
refactor: fixed more sonarcloud issues
This commit is contained in:
parent
a866ac6070
commit
b34eb4c1ac
12 changed files with 32 additions and 109 deletions
|
@ -62,9 +62,9 @@ export default class Bip39Generator extends Tool {
|
|||
languageList = Object
|
||||
.keys(bip39.wordlists)
|
||||
.filter(k => !k.match(/[A-Z]{2}/))
|
||||
.map(k => ({
|
||||
text: k.split('_').map(k => k.charAt(0).toUpperCase() + k.slice(1)).join(' '),
|
||||
value: k
|
||||
.map(v => ({
|
||||
text: v.split('_').map(k => k.charAt(0).toUpperCase() + k.slice(1)).join(' '),
|
||||
value: v
|
||||
}))
|
||||
|
||||
rules = {
|
||||
|
@ -103,6 +103,3 @@ export default class Bip39Generator extends Tool {
|
|||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue