Skip to content

Commit 646eb4f

Browse files
committed
fix: some git rebase cleanup
Signed-off-by: Olivier Vernin <olivier@vernin.me>
1 parent 53010eb commit 646eb4f

File tree

4 files changed

+3
-17
lines changed

4 files changed

+3
-17
lines changed

src/components/pipeline/reports.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,6 @@ export default {
308308
params.append('end_time', this.filter.endTime);
309309
}
310310
311-
if (this.filter?.startTime && this.filter.endTime ) {
312-
params.append('start_time', this.filter.startTime);
313-
params.append('end_time', this.filter.endTime);
314-
}
315-
316311
params.append('limit', this.itemsPerPage);
317312
params.append('page', this.currentPage);
318313

src/components/scm/_filter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
:step="1"
3838
class="py-6"
3939
:strict="true"
40-
:disabled="!isRepositoriesData() && !isRepositoryBranchesData()"
40+
:disabled="!isRepositoriesData() || !isRepositoryBranchesData()"
4141
>
4242
<template v-slot:prepend>
4343
<v-text-field

src/components/scm/_summary.vue

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@ export default {
304304
return this.isFullWidth() ? 12 : 6;
305305
},
306306
307-
isEmptyData() {
308-
return Object.keys(this.data).length === 0;
309-
},
310-
311307
async loadSequentialPages(pagesToLoad = 1) {
312308
// create a unique id for this run so we can cancel/stale-check
313309
const runId = (this._sequentialRunId = (this._sequentialRunId || 0) + 1);
@@ -370,12 +366,6 @@ export default {
370366
params.append('end_time', this.filter.endTime);
371367
}
372368
373-
// Add starttime and endtime filters if provided
374-
if (this.filter?.startTime && this.filter.endTime ) {
375-
params.append('start_time', this.filter.startTime);
376-
params.append('end_time', this.filter.endTime);
377-
}
378-
379369
let query = `${getApiBaseURL()}/pipeline/scms?${params.toString()}`;
380370
381371
let response;

src/views/HomeView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ export default {
189189
<li>Method A (Config file): Stores token locally, secure for local development</li>
190190
<li>Method B (Environment variables): Better for CI/CD pipelines and containers</li>
191191
</ul>
192-
`
192+
`,
193+
code: ""
193194
},
194195
{
195196
title: "Authenticate (Method A - Config File)",

0 commit comments

Comments
 (0)