mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-07-08 23:32:44 +00:00
When there were no query results it would throw an error due to `this.resultCount` always passing as it is in the format of ``` "INTEGER - results returned" ``` so we need to grab the first index of the string and check if the integer is great than 0
Data Explorer Plugin
This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.
For more information, please see: https://meta.discourse.org/t/data-explorer-plugin/32566
Description
Languages
Ruby
55.5%
JavaScript
41.9%
SCSS
2.6%