Fixed link analyzer for logged out users

This commit is contained in:
RemixDev 2021-10-05 13:24:43 +02:00
parent 0db34c11da
commit d8c07efff7

View File

@ -122,7 +122,7 @@
<td>{{ $t('linkAnalyzer.table.readable') }}</td> <td>{{ $t('linkAnalyzer.table.readable') }}</td>
<td>{{ $t( data.readable ? 'globals.yes' : 'globals.no').capitalize() }}</td> <td>{{ $t( data.readable ? 'globals.yes' : 'globals.no').capitalize() }}</td>
</tr> </tr>
<tr v-if="countries.length"> <tr v-if="countries.length && user.country">
<td>{{ $t('linkAnalyzer.table.available') }}</td> <td>{{ $t('linkAnalyzer.table.available') }}</td>
<td>{{ $t( available_countries.includes(user.country.toLowerCase()) ? 'globals.yes' : 'globals.no').capitalize() }}</td> <td>{{ $t( available_countries.includes(user.country.toLowerCase()) ? 'globals.yes' : 'globals.no').capitalize() }}</td>
</tr> </tr>