Skip to content

Commit

Permalink
Fix [UI] Limit number of artifacts shown in the artifact screen `1.6.…
Browse files Browse the repository at this point in the history
…x` (#2535)
  • Loading branch information
illia-prokopchuk authored Jun 18, 2024
1 parent d9284e2 commit 8c84b1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/artifacts-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ import {
TAG_FILTER_LATEST
} from '../constants'

const MAX_ARTIFACTS_LIMIT = 1000

const fetchArtifacts = (project, filters, config = {}, withLatestTag) => {
const params = {}
const params = {
limit: MAX_ARTIFACTS_LIMIT
}

if (filters?.labels) {
params.label = filters.labels?.split(',')
Expand Down

0 comments on commit 8c84b1e

Please sign in to comment.