(site-info) Do not show 'suggest for crawling' when the ndoe affinity is already set to 0

This indicates the domain is already slated for crawling.
This commit is contained in:
Viktor Lofgren 2024-12-05 16:18:46 +01:00
parent 33761a0236
commit 75ae1c9526

View File

@ -94,7 +94,7 @@
</div>
@endif
@if (siteInfo.domainInformation().isSuggestForCrawling())
@if (siteInfo.domainInformation().isSuggestForCrawling() && siteInfo.domainInformation().getNodeAffinity() < 0)
<form method="POST"
action="/site/suggest/">
<div class="max-w-md mx-auto p-6 bg-white shadow border border-gray-200 mx-1 flex space-y-4 flex-col">