Rename index to profileIndex for clarity (#952)
This commit is contained in:
parent
6422845bbb
commit
4188adae28
@ -75,7 +75,7 @@ class ProfileConditionsUI {
|
|||||||
return this._settingsController;
|
return this._settingsController;
|
||||||
}
|
}
|
||||||
|
|
||||||
get index() {
|
get profileIndex() {
|
||||||
return this._settingsController.profileIndex;
|
return this._settingsController.profileIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ class ProfileConditionsUI {
|
|||||||
|
|
||||||
getPath(property) {
|
getPath(property) {
|
||||||
property = (typeof property === 'string' ? `.${property}` : '');
|
property = (typeof property === 'string' ? `.${property}` : '');
|
||||||
return `profiles[${this.index}]${property}`;
|
return `profiles[${this.profileIndex}]${property}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
createKeyboardMouseInputField(inputNode, mouseButton) {
|
createKeyboardMouseInputField(inputNode, mouseButton) {
|
||||||
|
Loading…
Reference in New Issue
Block a user