luci-app-package-manager: Swap ternary outputs
authorPaul Donald <newtwen+github@gmail.com>
Fri, 6 Dec 2024 00:39:13 +0000 (01:39 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Fri, 6 Dec 2024 00:39:13 +0000 (01:39 +0100)
follow-up for 9a5a5ec5784848a60e3c10895d762d3a69b3d13e

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js

index 8a61709431800eb311c1e9b1cfba737424f51e0e..444bd8f63b666165b1d8f44b80d447d4c528f39e 100644 (file)
@@ -1260,7 +1260,7 @@ return view.extend({
                                E('tr', { 'class': 'tr cbi-section-table-titles' }, [
                                        E('th', { 'class': 'th col-2 left' }, [ _('Package name') ]),
                                        E('th', { 'class': 'th col-2 left version' }, [ _('Version') ]),
-                                       E('th', { 'class': 'th col-1 center size'}, [ _('Size (%s)').format(L.hasSystemFeature('apk') ? '.ipk' : '.apk') ]),
+                                       E('th', { 'class': 'th col-1 center size'}, [ _('Size (%s)').format(L.hasSystemFeature('apk') ? '.apk' : '.ipk') ]),
                                        E('th', { 'class': 'th col-10 left' }, [ _('Description') ]),
                                        E('th', { 'class': 'th right cbi-section-actions' }, [ '\u00a0' ])
                                ])