Whoops
This commit is contained in:
@@ -37,7 +37,6 @@ local wizardPage = UI.WizardPage {
|
|||||||
[5] = UI.Chooser {
|
[5] = UI.Chooser {
|
||||||
formLabel = 'RS Signal', formKey = 'rsSide', formIndex = 6,
|
formLabel = 'RS Signal', formKey = 'rsSide', formIndex = 6,
|
||||||
width = 10,
|
width = 10,
|
||||||
nochoice = 'Top',
|
|
||||||
choices = {
|
choices = {
|
||||||
{name = 'Bottom', value = 'bottom'},
|
{name = 'Bottom', value = 'bottom'},
|
||||||
{name = 'Top', value = 'top'},
|
{name = 'Top', value = 'top'},
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ local function createPage(node)
|
|||||||
self.grid.values = { }
|
self.grid.values = { }
|
||||||
for k,v in pairs(config) do
|
for k,v in pairs(config) do
|
||||||
local item = list[k] or itemDB:get(k)
|
local item = list[k] or itemDB:get(k)
|
||||||
if item and (node.showOutOfStock or item.count > 0) then
|
if item and (node.showOutOfStock or item.count or 0 > 0) then
|
||||||
table.insert(self.grid.values, {
|
table.insert(self.grid.values, {
|
||||||
displayName = item.displayName,
|
displayName = item.displayName,
|
||||||
count = item.count or 0,
|
count = item.count or 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user