mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-28 20:19:13 +00:00
refactor(gui): update eslint rules
Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
export default class SqlQueryParser {
|
||||
static getType (query) {
|
||||
static getType(query) {
|
||||
query = query.trim().toLowerCase()
|
||||
return query.split(/\W+/)[0]
|
||||
}
|
||||
|
||||
static getColorForQueryType (queryType) {
|
||||
static getColorForQueryType(queryType) {
|
||||
switch (queryType.toLowerCase()) {
|
||||
case 'select':
|
||||
return 'success'
|
||||
|
||||
Reference in New Issue
Block a user