Skip to content

Commit 65d4cb4

Browse files
committed
add more info to ui
1 parent 7c70587 commit 65d4cb4

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

ui/src/components/ContainerItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
<span v-if="container.agent">{{ container.agent }} &middot;</span>
9494
<span>{{ container.watcher }}</span>
9595
<span v-if="mdAndUp">&middot; {{ container.image.registry.name }}</span>
96+
<span v-if="container.name">&middot; {{ container.name }}</span>
9697
</div>
9798
</div>
9899
</div>

ui/tests/components/ContainerItem.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ describe('ContainerItem', () => {
199199
it('renders container information correctly', () => {
200200
expect(wrapper.text()).toContain('Test Container');
201201
expect(wrapper.text()).toContain('1.0.0');
202+
expect(wrapper.text()).toContain('local');
202203
expect(wrapper.text()).toContain('hub');
204+
expect(wrapper.text()).toContain('test-container');
203205
});
204206

205207
it('shows update available indicator when update is available', () => {

0 commit comments

Comments
 (0)