mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(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:
parent
33761a0236
commit
75ae1c9526
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user