mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Display default preset if no one has been selected.
This commit is contained in:
parent
f8ca666219
commit
010743aa09
1 changed files with 2 additions and 1 deletions
|
|
@ -69,9 +69,10 @@ TabContainer {
|
|||
currentIndex: {
|
||||
var preset = SettingsModel.videoPreset
|
||||
|
||||
return Number(Utils.findIndex(model, function (value) {
|
||||
var index = Number(Utils.findIndex(model, function (value) {
|
||||
return preset === value.value
|
||||
}))
|
||||
return index>=0 ? index : 0;
|
||||
}
|
||||
|
||||
model: [{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue