mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-28 10:36:14 -04:00
refactor(ui): remove n-text (#506)
This commit is contained in:
parent
05ea545475
commit
72c98a3c5e
14 changed files with 52 additions and 74 deletions
|
@ -96,16 +96,14 @@ function switchToBlock({ count = 1 }: { count?: number }) {
|
|||
<n-table>
|
||||
<tbody>
|
||||
<tr v-for="{ getValue, label, undefinedFallback } in sections" :key="label">
|
||||
<td>
|
||||
<n-text strong>
|
||||
{{ label }}
|
||||
</n-text>
|
||||
<td font-bold>
|
||||
{{ label }}
|
||||
</td>
|
||||
<td>
|
||||
<SpanCopyable v-if="getValue(networkInfo)" :value="getValue(networkInfo)" />
|
||||
<n-text v-else depth="3">
|
||||
<span v-else op-70>
|
||||
{{ undefinedFallback }}
|
||||
</n-text>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue