bug fix in index parsing

This commit is contained in:
ori agranat
2020-01-01 12:18:35 -08:00
parent 207249ca19
commit 27a338e1d1

View File

@@ -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);
}
}