mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-14 01:50:54 +00:00
4.18.4
* Fixed: Bug when changing a setting using a select-box input.
This commit is contained in:
parent
42a48c56c6
commit
cef1520d66
2 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "frankerfacez",
|
"name": "frankerfacez",
|
||||||
"author": "Dan Salvato LLC",
|
"author": "Dan Salvato LLC",
|
||||||
"version": "4.18.3",
|
"version": "4.18.4",
|
||||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
v-for="j in i.entries"
|
v-for="j in i.entries"
|
||||||
:key="j.value"
|
:key="j.value"
|
||||||
:selected="j.value === value"
|
:selected="j.value === value"
|
||||||
|
:value="j.v"
|
||||||
>
|
>
|
||||||
{{ j.i18n_key ? t(j.i18n_key, j.title, j) : j.title }}
|
{{ j.i18n_key ? t(j.i18n_key, j.title, j) : j.title }}
|
||||||
</option>
|
</option>
|
||||||
|
@ -34,6 +35,7 @@
|
||||||
v-else
|
v-else
|
||||||
:key="i.value"
|
:key="i.value"
|
||||||
:selected="i.value === value"
|
:selected="i.value === value"
|
||||||
|
:value="i.v"
|
||||||
>
|
>
|
||||||
{{ i.i18n_key ? t(i.i18n_key, i.title, i) : i.title }}
|
{{ i.i18n_key ? t(i.i18n_key, i.title, i) : i.title }}
|
||||||
</option>
|
</option>
|
||||||
|
@ -104,9 +106,9 @@ export default {
|
||||||
out.push(current_group);
|
out.push(current_group);
|
||||||
|
|
||||||
} else if ( current_group != null )
|
} else if ( current_group != null )
|
||||||
current_group.entries.push(entry);
|
current_group.entries.push(Object.assign({v: i}, entry));
|
||||||
else
|
else
|
||||||
out.push(entry);
|
out.push(Object.assign({v: i}, entry));
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
@ -117,7 +119,7 @@ export default {
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
onChange() {
|
onChange() {
|
||||||
const idx = this.$refs.control.selectedIndex,
|
const idx = this.$refs.control.value,
|
||||||
raw_value = this.data[idx];
|
raw_value = this.data[idx];
|
||||||
|
|
||||||
if ( raw_value )
|
if ( raw_value )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue