Skip to content

Commit 76db7bc

Browse files
committed
cockpit: Render version of the package
This renders the version of the package in the Application stream column.
1 parent f55b1d2 commit 76db7bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Components/CreateImageWizard/steps/Packages/Packages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ const Packages = () => {
15491549
Name
15501550
</Th>
15511551
<Th sort={getSortParams(2)} width={20}>
1552-
Application stream
1552+
Application stream / Version
15531553
</Th>
15541554
<Th sort={getSortParams(3)} width={30}>
15551555
Retirement date

src/store/cockpit/contentSourcesApi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const contentSourcesApi = emptyCockpitApi.injectEndpoints({
4141
({ name, summary, version, release, arch }: Package) => ({
4242
package_name: name,
4343
summary: `${summary} (${version}-${release}.${arch})`,
44+
package_sources: [{stream: version}],
4445
})
4546
);
4647

0 commit comments

Comments
 (0)