We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e34a1c9 commit 574ef0dCopy full SHA for 574ef0d
scripts/screens/devtoolsscreen.lua
@@ -285,8 +285,12 @@ function DevToolsScreen:UpdateChildren(silent)
285
)
286
end
287
288
+ local number = (total_sidebar_data and sidebar_data_idx)
289
+ and string.format(" [%d/%d]", sidebar_data_idx, total_sidebar_data)
290
+ or ""
291
+
292
self.data:SetString((self.selected == MOD_DEV_TOOLS.SELECT.DATA and selected or unselected)
- .. string.format(" [%d/%d]", sidebar_data_idx, total_sidebar_data)
293
+ .. number
294
.. "\n\n"
295
.. tostring(self.data_text))
296
0 commit comments