aboutsummaryrefslogtreecommitdiff
path: root/src/tools/jwt-parser
diff options
context:
space:
mode:
authorGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-06-25 15:00:50 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-25 13:00:50 +0000
commit05ea54547515f7fb1eed5f31ccbde10e36041fb1 (patch)
tree535e78ce534818e9a66ff3a2335499a53db1fe4c /src/tools/jwt-parser
parent5c3bebfe62ab2942f6378356fbb6be40e389c70e (diff)
downloadit-tools-05ea54547515f7fb1eed5f31ccbde10e36041fb1.tar.gz
it-tools-05ea54547515f7fb1eed5f31ccbde10e36041fb1.tar.zst
it-tools-05ea54547515f7fb1eed5f31ccbde10e36041fb1.zip
refactor(ui): replaced some n-input to c-input (#505)
Diffstat (limited to 'src/tools/jwt-parser')
-rw-r--r--src/tools/jwt-parser/jwt-parser.vue4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/jwt-parser/jwt-parser.vue b/src/tools/jwt-parser/jwt-parser.vue
index ee6e0f3..d5b1168 100644
--- a/src/tools/jwt-parser/jwt-parser.vue
+++ b/src/tools/jwt-parser/jwt-parser.vue
@@ -30,9 +30,7 @@ const validation = useValidation({
<template>
<c-card>
- <n-form-item label="JWT to decode" :feedback="validation.message" :validation-status="validation.status">
- <n-input v-model:value="rawJwt" type="textarea" placeholder="Put your token here..." rows="5" />
- </n-form-item>
+ <c-input-text v-model:value="rawJwt" label="JWT to decode" :validation="validation" placeholder="Put your token here..." rows="5" multiline raw-text autofocus mb-3 />
<n-table v-if="validation.isValid">
<tbody>