mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-09-05 20:07:25 +00:00
Lock file maintenance (#6508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: qwerty287 <qwerty287@posteo.de>
This commit is contained in:
Generated
+653
-645
File diff suppressed because it is too large
Load Diff
Generated
+459
-439
File diff suppressed because it is too large
Load Diff
@@ -105,15 +105,11 @@ export const usePipelineStore = defineStore('pipelines', () => {
|
||||
const pipelineFeed = computed(() =>
|
||||
[...pipelines.entries()]
|
||||
.reduce<PipelineFeed[]>((acc, [_repoId, repoPipelines]) => {
|
||||
const repoPipelinesArray = Array.from(
|
||||
repoPipelines.entries(),
|
||||
([_pipelineNumber, pipeline]) =>
|
||||
<PipelineFeed>{
|
||||
...pipeline,
|
||||
repo_id: _repoId,
|
||||
number: _pipelineNumber,
|
||||
},
|
||||
);
|
||||
const repoPipelinesArray = Array.from(repoPipelines.entries(), ([_pipelineNumber, pipeline]) => ({
|
||||
...pipeline,
|
||||
repo_id: _repoId,
|
||||
number: _pipelineNumber,
|
||||
}));
|
||||
return [...acc, ...repoPipelinesArray];
|
||||
}, [])
|
||||
.sort(comparePipelinesWithStatus)
|
||||
|
||||
Reference in New Issue
Block a user