Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Sources/App/Views/PackageController/GetRoute.Model+ext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ extension API.PackageController.GetRoute.Model {
}

func customCollectionsListItem() -> Node<HTML.ListContext> {
@Dependency(\.environment) var environment
guard environment.current() == .development
else { return .empty }

guard customCollections.isEmpty == false
else { return .empty }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ <h4>When working with a Swift Package Manager manifest:</h4>
<a href="https://github.com/Alamofire/Alamofire/pulls">5 open pull requests</a>. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago.
</li>
<li class="dependencies">This package depends on 2 other packages.</li>
<li class="custom-collections">Member of the
<a href="/collections/custom-collection">Custom Collection</a> collection.
</li>
<li class="license"> licensed</li>
<li class="stars">17 stars</li>
<li class="libraries">3 libraries</li>
Expand Down
Loading