mirror of
https://github.com/apache/superset.git
synced 2026-04-17 15:15:20 +00:00
fix: can't drop column when name overlap (#16482)
This commit is contained in:
@@ -64,7 +64,7 @@ export class OptionSelector {
|
||||
}
|
||||
|
||||
has(value: string): boolean {
|
||||
return !!this.getValues()?.includes(value);
|
||||
return ensureIsArray(this.getValues()).includes(value);
|
||||
}
|
||||
|
||||
getValues(): string[] | string | undefined {
|
||||
|
||||
Reference in New Issue
Block a user