Add optional chaining to check

This commit is contained in:
Kavin 2023-08-04 13:28:18 +01:00 committed by GitHub
parent 9a93dfd017
commit c7f1f23d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@
<div class="grid xl:grid-cols-5 sm:grid-cols-4 grid-cols-1">
<div class="xl:col-span-4 sm:col-span-3">
<button
v-if="!comments.disabled"
v-if="!comments?.disabled"
class="btn mb-2"
@click="toggleComments"
v-text="