luci-app-attendedsysupgrade: revert version code request
authorDaniel Nilsson <daniel.nilsson94@outlook.com>
Wed, 19 Jun 2024 17:50:13 +0000 (19:50 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Wed, 19 Jun 2024 19:00:15 +0000 (21:00 +0200)
This reverts commit 8860ca069c04e3dbd3f107f1526f2901f1085902.

Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js

index 3d40f992fabc1305de22d66a279670be930ee48a..0e6ae9d20cca100e8f9e8a6b7c2bfabb893d82cd 100644 (file)
@@ -476,7 +476,6 @@ return view.extend({
                                        request: {
                                                profile,
                                                version: candidates[0][0],
-                                               version_code: revision,
                                                packages: Object.keys(packages).sort(),
                                        },
                                };
@@ -537,7 +536,6 @@ return view.extend({
                                                                                                ...firmware,
                                                                                                packages: mapdata.request.packages,
                                                                                                version: mapdata.request.version,
-                                                                                               version_code: mapdata.request.version_code,
                                                                                                profile: mapdata.request.profile
                                                                                        };
                                                                                        this.pollFn = L.bind(function () {