This needs to be case-sensitive

pull/10616/head
Luke Morris 2017-11-09 17:27:25 -08:00
parent 9b32411bc5
commit 8611316797
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const DatabaseList = React.createClass({
const newMetaQuery = const newMetaQuery =
prevQuery.rawText !== nextQuery.rawText && prevQuery.rawText !== nextQuery.rawText &&
nextQuery.rawText && nextQuery.rawText &&
nextQuery.rawText.match(/^(create|drop)/) nextQuery.rawText.match(/^(create|drop)/i)
if (differentSource || newMetaQuery) { if (differentSource || newMetaQuery) {
setTimeout(this.getDbRp, 100) setTimeout(this.getDbRp, 100)