Skip to content

Commit

Permalink
Rename jenkins link to ci link
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed Dec 1, 2023
1 parent 32944ab commit bf0f0da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/lib/models/test_execution.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ part 'test_execution.g.dart';
class TestExecution with _$TestExecution {
const factory TestExecution({
required int id,
@JsonKey(name: 'jenkins_link') required String? jenkinsLink,
@JsonKey(name: 'ci_link') required String? ciLink,
@JsonKey(name: 'c3_link') required String? c3Link,
required TestExecutionStatus status,
required Environment environment,
Expand Down
8 changes: 4 additions & 4 deletions frontend/lib/ui/dashboard/artefact_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class _TestExecutionView extends StatelessWidget {

@override
Widget build(BuildContext context) {
final jenkinsLink = testExecution.jenkinsLink;
final ciLink = testExecution.ciLink;
final c3Link = testExecution.c3Link;

return YaruExpandable(
Expand All @@ -286,10 +286,10 @@ class _TestExecutionView extends StatelessWidget {
const Spacer(),
Row(
children: [
if (jenkinsLink != null)
if (ciLink != null)
InlineUrlText(
url: jenkinsLink,
urlText: 'Jenkins',
url: ciLink,
urlText: 'CI',
),
const SizedBox(width: Spacing.level3),
if (c3Link != null)
Expand Down

0 comments on commit bf0f0da

Please sign in to comment.