🔧 Formatted the search query box
This commit is contained in:
@@ -153,11 +153,6 @@ export const AcquisitionPanel = (
|
|||||||
|
|
||||||
// The search can now be considered to be "complete"
|
// The search can now be considered to be "complete"
|
||||||
// If there's an "in progress" indicator in the UI, that could also be disabled here
|
// If there's an "in progress" indicator in the UI, that could also be disabled here
|
||||||
// dispatch({
|
|
||||||
// type: AIRDCPP_HUB_SEARCHES_SENT,
|
|
||||||
// searchInfo,
|
|
||||||
// instance,
|
|
||||||
// });
|
|
||||||
setAirDCPPSearchInstance(instance);
|
setAirDCPPSearchInstance(instance);
|
||||||
setAirDCPPSearchStatus(false);
|
setAirDCPPSearchStatus(false);
|
||||||
},
|
},
|
||||||
@@ -289,9 +284,9 @@ export const AcquisitionPanel = (
|
|||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<div className="tags mb-1">
|
<div className="tags mb-1">
|
||||||
{hubs.map(({ value }) => (
|
{hubs.map((value, idx) => (
|
||||||
<span className="tag is-warning" key={value}>
|
<span className="tag is-warning" key={idx}>
|
||||||
{value}
|
{value.identity.name}
|
||||||
</span>
|
</span>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
@@ -304,9 +299,16 @@ export const AcquisitionPanel = (
|
|||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Extensions:
|
Extensions:
|
||||||
{airDCPPSearchInfo.query.extensions.join(", ")}
|
<span className="has-text-weight-semibold">
|
||||||
|
{airDCPPSearchInfo.query.extensions.join(", ")}
|
||||||
|
</span>
|
||||||
|
</dd>
|
||||||
|
<dd>
|
||||||
|
File type:
|
||||||
|
<span className="has-text-weight-semibold">
|
||||||
|
{airDCPPSearchInfo.query.file_type}
|
||||||
|
</span>
|
||||||
</dd>
|
</dd>
|
||||||
<dd>File type: {airDCPPSearchInfo.query.file_type}</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user