From 7675589183096dafa875d172214d71b515f46166 Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Mon, 10 Jun 2024 08:20:12 -0400 Subject: [PATCH] chore: add default sorting pod (#7523) ### What does this PR do? Adds default sorting for pods list to name ### Screenshot / video of UI ### What issues does this PR fix or reference? Closes https://github.com/containers/podman-desktop/issues/7476 ### How to test this PR? - [X] Tests are covering the bug fix or the new feature See that loading pods list it is sorted by name now. Signed-off-by: Charlie Drage --- packages/renderer/src/lib/pod/PodsList.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/renderer/src/lib/pod/PodsList.svelte b/packages/renderer/src/lib/pod/PodsList.svelte index 9912c3d50cebc..2c98905836656 100644 --- a/packages/renderer/src/lib/pod/PodsList.svelte +++ b/packages/renderer/src/lib/pod/PodsList.svelte @@ -276,6 +276,7 @@ const row = new TableRow({ selectable: _pod => true }); data="{pods}" columns="{columns}" row="{row}" + defaultSortColumn="Name" on:update="{() => (pods = pods)}">