fix: don't show translate button if signed out
This commit is contained in:
parent
d9f7e2bede
commit
587840ec37
2 changed files with 10 additions and 2 deletions
|
@ -220,7 +220,11 @@
|
||||||
</button>
|
</button>
|
||||||
<XQuoteButton class="button" :note="appearNote" />
|
<XQuoteButton class="button" :note="appearNote" />
|
||||||
<button
|
<button
|
||||||
v-if="isForeignLanguage && translation == null"
|
v-if="
|
||||||
|
$i != null &&
|
||||||
|
isForeignLanguage &&
|
||||||
|
translation == null
|
||||||
|
"
|
||||||
class="button _button"
|
class="button _button"
|
||||||
@click.stop="translate"
|
@click.stop="translate"
|
||||||
v-tooltip.noDelay.bottom="i18n.ts.translate"
|
v-tooltip.noDelay.bottom="i18n.ts.translate"
|
||||||
|
|
|
@ -125,7 +125,11 @@
|
||||||
</button>
|
</button>
|
||||||
<XQuoteButton class="button" :note="appearNote" />
|
<XQuoteButton class="button" :note="appearNote" />
|
||||||
<button
|
<button
|
||||||
v-if="isForeignLanguage && translation == null"
|
v-if="
|
||||||
|
$i != null &&
|
||||||
|
isForeignLanguage &&
|
||||||
|
translation == null
|
||||||
|
"
|
||||||
class="button _button"
|
class="button _button"
|
||||||
@click.stop="translate"
|
@click.stop="translate"
|
||||||
v-tooltip.noDelay.bottom="i18n.ts.translate"
|
v-tooltip.noDelay.bottom="i18n.ts.translate"
|
||||||
|
|
Loading…
Reference in a new issue