Remove nesting from SecondaryInfo
This commit is contained in:
parent
ce1f8d2670
commit
7aae800a01
2 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,7 @@ const patrons = [
|
|||
<tr v-for="(patron, index) in patrons" :key="index">
|
||||
<TableTd>
|
||||
<div>{{ patron.name }}</div>
|
||||
<StateSecondaryInfo>{{ patron.email }}</StateSecondaryInfo>
|
||||
<SecondaryInfo>{{ patron.email }}</SecondaryInfo>
|
||||
</TableTd>
|
||||
|
||||
<TableTd>
|
||||
|
@ -44,9 +44,7 @@ const patrons = [
|
|||
|
||||
<TableTd>
|
||||
<div>{{ patron.checkedOut }} books</div>
|
||||
<StateSecondaryInfo>
|
||||
{{ patron.overdue }} overdue
|
||||
</StateSecondaryInfo>
|
||||
<SecondaryInfo>{{ patron.overdue }} overdue</SecondaryInfo>
|
||||
</TableTd>
|
||||
|
||||
<TableTd>
|
||||
|
|
Loading…
Reference in a new issue