fix: locale in random page
This commit is contained in:
@@ -101,7 +101,7 @@ watch(i18n.locale, newDomain);
|
|||||||
<div v-else-if="state === State.Ready && domain?.available" class="py-6">
|
<div v-else-if="state === State.Ready && domain?.available" class="py-6">
|
||||||
{{ $t("this_domain") }} {{ $t("seems") }}
|
{{ $t("this_domain") }} {{ $t("seems") }}
|
||||||
<a
|
<a
|
||||||
:href="`https://tld-list.com/${i18n.locale}/tld/${domain.name?.split('.')[1]}`"
|
:href="`https://tld-list.com/${$i18n.locale}/tld/${domain.name?.split('.')[1]}`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="underline"
|
class="underline"
|
||||||
>{{ $t("available") }}</a
|
>{{ $t("available") }}</a
|
||||||
@@ -115,11 +115,7 @@ watch(i18n.locale, newDomain);
|
|||||||
{{ $t("error") }}
|
{{ $t("error") }}
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
:disabled="
|
:disabled="state === State.Loading || state === State.Generating || state === State.Error"
|
||||||
state === State.Loading ||
|
|
||||||
state === State.Generating ||
|
|
||||||
state === State.Error
|
|
||||||
"
|
|
||||||
class="btn btn-primary"
|
class="btn btn-primary"
|
||||||
@click="newDomain"
|
@click="newDomain"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user