mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
chore: make TS enums strictly PascalCase (#26875)
This commit is contained in:
@@ -81,10 +81,10 @@ const ACTION_KEYS = {
|
||||
* Return sortType based on data type
|
||||
*/
|
||||
function getSortTypeByDataType(dataType: GenericDataType): DefaultSortTypes {
|
||||
if (dataType === GenericDataType.TEMPORAL) {
|
||||
if (dataType === GenericDataType.Temporal) {
|
||||
return 'datetime';
|
||||
}
|
||||
if (dataType === GenericDataType.STRING) {
|
||||
if (dataType === GenericDataType.String) {
|
||||
return 'alphanumeric';
|
||||
}
|
||||
return 'basic';
|
||||
|
||||
Reference in New Issue
Block a user