refactor(ui): remove n-text (#506)

This commit is contained in:
Corentin THOMASSET 2023-06-25 15:49:43 +02:00 committed by GitHub
parent 05ea545475
commit 72c98a3c5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 52 additions and 74 deletions

View file

@ -40,18 +40,18 @@ const validation = useValidation({
</th>
<tr v-for="{ claim, claimDescription, friendlyValue, value } in decodedJWT[section.key]" :key="claim + value">
<td class="claims">
<n-text strong>
<span font-bold>
{{ claim }}
</n-text>
<n-text v-if="claimDescription" depth="3" ml-2>
</span>
<span v-if="claimDescription" ml-2 op-70>
({{ claimDescription }})
</n-text>
</span>
</td>
<td>
<n-text>{{ value }}</n-text>
<n-text v-if="friendlyValue" ml-2 depth="3">
<span>{{ value }}</span>
<span v-if="friendlyValue" ml-2 op-70>
({{ friendlyValue }})
</n-text>
</span>
</td>
</tr>
</template>