fix: tld-list link with correct extension
This commit is contained in:
@@ -62,7 +62,7 @@ function checkAvailability() {
|
||||
|
||||
function removeExt() {
|
||||
if (domain.value) {
|
||||
props.factory.removeExt(domain.value.extension);
|
||||
props.factory.removeExtensions(domain.value.extension);
|
||||
newDomain();
|
||||
}
|
||||
}
|
||||
@@ -108,7 +108,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.extension}`"
|
||||
target="_blank"
|
||||
class="underline"
|
||||
>{{ $t("available") }}</a
|
||||
|
||||
Reference in New Issue
Block a user