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">
|
||||
{{ $t("this_domain") }} {{ $t("seems") }}
|
||||
<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"
|
||||
class="underline"
|
||||
>{{ $t("available") }}</a
|
||||
@@ -115,11 +115,7 @@ watch(i18n.locale, newDomain);
|
||||
{{ $t("error") }}
|
||||
</div>
|
||||
<button
|
||||
:disabled="
|
||||
state === State.Loading ||
|
||||
state === State.Generating ||
|
||||
state === State.Error
|
||||
"
|
||||
:disabled="state === State.Loading || state === State.Generating || state === State.Error"
|
||||
class="btn btn-primary"
|
||||
@click="newDomain"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user