optional chaining
This commit is contained in:
parent
59f3ca65ca
commit
cf85b00c0a
26 changed files with 34 additions and 34 deletions
|
|
@ -50,7 +50,7 @@
|
|||
/>
|
||||
</button>
|
||||
<button
|
||||
v-if="currentUser && currentUser.role === 'admin'"
|
||||
v-if="currentUser?.role === 'admin'"
|
||||
class="button-unstyled nav-icon"
|
||||
target="_blank"
|
||||
:title="$t('nav.administration')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue