Skip to content

Commit 379a66d

Browse files
author
Marko Petzold
committed
chore: update version to 2.1.2 and sort board items in Devices component
1 parent 09122f4 commit 379a66d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flockflasher",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "An efficient, modern and reliable flashing tool for IoT applications",
55
"author": "Record Evolution GmbH",
66
"publisher": "Record Evolution GmbH",

src/renderer/src/components/Devices.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ watch(drives, (updatedDl) => {
284284
v-if="flashItem.reswarm && flashItem.flash.state === 'idle'"
285285
v-model="flashItem.reswarm.config!.board"
286286
:label="$t('choose_board_and_os')"
287-
:items="boards"
288-
:item-title="(el: SupportedBoard) => el.modelname"
287+
:items="boards.slice().sort((a, b) => a.modelname.localeCompare(b.modelname))"
288+
:item-title="(el: SupportedBoard) => el.modelname + ' (' + el.architecture + ') ' + el.latestImages?.[0].version"
289289
:item-value="(el) => el"
290290
variant="outlined"
291291
></v-select>

0 commit comments

Comments
 (0)