From 27a338e1d12aeab1bbc7f1d782b829a7b8a28c97 Mon Sep 17 00:00:00 2001 From: ori agranat Date: Wed, 1 Jan 2020 12:18:35 -0800 Subject: [PATCH] bug fix in index parsing --- chameleon-client/src/views/SettingsViewes/Cameras.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chameleon-client/src/views/SettingsViewes/Cameras.vue b/chameleon-client/src/views/SettingsViewes/Cameras.vue index de147f01b..e8db59af1 100644 --- a/chameleon-client/src/views/SettingsViewes/Cameras.vue +++ b/chameleon-client/src/views/SettingsViewes/Cameras.vue @@ -177,7 +177,7 @@ for (let i in this.$store.state.resolutionList) { let res = JSON.parse(JSON.stringify(this.$store.state.resolutionList[i])); if (!tmp_list.some(e => e.width === res.width && e.height === res.height)) { - res['actualIndex'] = i; + res['actualIndex'] = parseInt(i); tmp_list.push(res); } }