mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-08 20:44:45 +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