mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 17:26:34 +00:00
fix(image-selection): Only trigger digest loop after setting image
Change-type: patch Signed-off-by: Jonas Hermsmeier <jhermsmeier@gmail.com>
This commit is contained in:
parent
63967d1558
commit
fd765443e4
@ -168,12 +168,11 @@ module.exports = function (
|
||||
metadata.hasMBR = true
|
||||
metadata.partitions = partitionTable.partitions
|
||||
}
|
||||
$timeout(() => {
|
||||
metadata.path = imagePath
|
||||
// eslint-disable-next-line no-magic-numbers
|
||||
metadata.extension = path.extname(imagePath).slice(1)
|
||||
this.selectImage(metadata)
|
||||
})
|
||||
$timeout()
|
||||
})
|
||||
})
|
||||
.catch((error) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user