mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
parent
9945e27c01
commit
e98601df91
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export const usePipelineStore = defineStore('pipelines', () => {
|
||||||
function setPipeline(owner: string, repo: string, pipeline: Pipeline) {
|
function setPipeline(owner: string, repo: string, pipeline: Pipeline) {
|
||||||
const _repoSlug = repoSlug(owner, repo);
|
const _repoSlug = repoSlug(owner, repo);
|
||||||
const repoPipelines = pipelines.get(_repoSlug) || new Map();
|
const repoPipelines = pipelines.get(_repoSlug) || new Map();
|
||||||
repoPipelines.set(pipeline.number, pipeline);
|
repoPipelines.set(pipeline.number, { ...(repoPipelines.get(pipeline.number) || {}), ...pipeline });
|
||||||
pipelines.set(_repoSlug, repoPipelines);
|
pipelines.set(_repoSlug, repoPipelines);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue