Skip to content

Commit

Permalink
DevUI: Workers and Workflow count transposed
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Aug 27, 2024
1 parent d69d3c7 commit 0910716
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void createCard(BuildProducer<CardPageBuildItem> cardPageBuildItemBuildProducer,

final PageBuilder<TableDataPageBuilder> workflowsPage = Page.tableDataPageBuilder("Workflows")
.icon("font-awesome-solid:arrow-right")
.staticLabel(String.valueOf(workers.size()))
.staticLabel(String.valueOf(workflows.size()))
.showColumn("name")
.showColumn("workers")
.buildTimeDataKey("workflows");
Expand All @@ -47,7 +47,7 @@ void createCard(BuildProducer<CardPageBuildItem> cardPageBuildItemBuildProducer,

final PageBuilder<TableDataPageBuilder> workersPage = Page.tableDataPageBuilder("Workers")
.icon("font-awesome-solid:briefcase")
.staticLabel(String.valueOf(workflows.size()))
.staticLabel(String.valueOf(workers.size()))
.showColumn("name")
.showColumn("workflows")
.showColumn("activities")
Expand Down Expand Up @@ -108,4 +108,4 @@ public String getName() {
}
}

}
}

0 comments on commit 0910716

Please sign in to comment.