From da04c37aaafc64a2f298cc0c02eef667784712d6 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Jul 2023 21:46:02 +0200 Subject: [PATCH] fix(esx_context): Lint fixes --- [core]/esx_context/main.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/[core]/esx_context/main.lua b/[core]/esx_context/main.lua index 65d51c8f..b1aa609b 100644 --- a/[core]/esx_context/main.lua +++ b/[core]/esx_context/main.lua @@ -189,9 +189,9 @@ if Debug then return end - for _, ele in ipairs(menu.eles) do - if ele.input then - print(ele.name, ele.inputType, ele.inputValue) + for _, element in ipairs(menu.eles) do + if element.input then + print(element.name, element.inputType, element.inputValue) end end @@ -215,7 +215,7 @@ if Debug then end) RegisterCommand("ctx:form", function() - local eles = { + local formMenu = { { unselectable = true, icon = "fas fa-info-circle", @@ -255,6 +255,6 @@ if Debug then } } - exports["esx_context"]:Open(position, eles, onSelect, onClose) + exports["esx_context"]:Open(position, formMenu, onSelect, onClose) end) end