Simplify v-if condition
This commit is contained in:
parent
c9e6f5e614
commit
6fd12c0a98
|
@ -2,7 +2,7 @@
|
||||||
<div>
|
<div>
|
||||||
<h1 class="text-4xl font-semibold mb-2">Sessions</h1>
|
<h1 class="text-4xl font-semibold mb-2">Sessions</h1>
|
||||||
|
|
||||||
<div v-if="!acceptedSessions.length == 0" class="bg-white p-6 rounded-lg border">
|
<div v-if="acceptedSessions.length" class="bg-white p-6 rounded-lg border">
|
||||||
<ul class="-mb-3">
|
<ul class="-mb-3">
|
||||||
<li v-for="{ attributes } in acceptedSessions" :key="attributes.drupal_internal__nid" class="mb-3">
|
<li v-for="{ attributes } in acceptedSessions" :key="attributes.drupal_internal__nid" class="mb-3">
|
||||||
{{ attributes.title }}
|
{{ attributes.title }}
|
||||||
|
|
Loading…
Reference in a new issue