@@ -70,12 +70,12 @@ const genres = computed(() => {
70
70
71
71
const year = computed (() => {
72
72
if (! show ?.value ) return ;
73
- return show .value ?.year ?? ' -' ;
73
+ return show .value ?.year || ' -' ;
74
74
});
75
75
76
76
const status = computed (() => {
77
77
if (! show ?.value ) return ;
78
- return capitalizeEachWord (show .value ?.status ) ?? ' -' ;
78
+ return capitalizeEachWord (show .value ?.status ) || ' -' ;
79
79
});
80
80
81
81
const airedEpisodes = computed (() => {
@@ -92,12 +92,12 @@ const episodeType = computed(() => {
92
92
93
93
const network = computed (() => {
94
94
if (! show ?.value && ! season ?.value ) return ;
95
- return show ?.value ?.network ?? season ?.value ?.network ?? ' -' ;
95
+ return ( show ?.value ?.network ?? season ?.value ?.network ) || ' -' ;
96
96
});
97
97
98
98
const country = computed (() => {
99
99
if (! show ?.value ) return ;
100
- return show .value ?.country ?? ' -' ;
100
+ return show .value ?.country || ' -' ;
101
101
});
102
102
103
103
const ids = computed (() => {
@@ -183,21 +183,23 @@ const ids = computed(() => {
183
183
/>
184
184
</NFlex >
185
185
186
- <!-- Genres -->
187
- <PanelDetail
188
- :label =" i18n('genres')"
189
- :values =" genres"
190
- :skeleton =" { width: '3rem' }"
191
- array
192
- />
193
-
194
- <!-- links -->
195
- <PanelLinks
196
- :ids =" ids"
197
- :mode =" mode"
198
- :season =" episode?.season ?? season?.number"
199
- :episode =" episode?.number"
200
- />
186
+ <NFlex class =" lists" vertical size =" large" >
187
+ <!-- Genres -->
188
+ <PanelDetail
189
+ :label =" i18n('genres')"
190
+ :values =" genres"
191
+ :skeleton =" { width: '3rem' }"
192
+ array
193
+ />
194
+
195
+ <!-- links -->
196
+ <PanelLinks
197
+ :ids =" ids"
198
+ :mode =" mode"
199
+ :season =" episode?.season ?? season?.number"
200
+ :episode =" episode?.number"
201
+ />
202
+ </NFlex >
201
203
</NFlex >
202
204
</template >
203
205
@@ -207,4 +209,8 @@ const ids = computed(() => {
207
209
flex : 1 1 auto ;
208
210
width : 100% ;
209
211
}
212
+
213
+ .lists {
214
+ margin : 0.25rem 0 0.5rem ;
215
+ }
210
216
</style >
0 commit comments