mirror of https://github.com/apache/superset.git
fix: can't drop column when name overlap (#16482)
This commit is contained in:
parent
e024f8c7d6
commit
80c39daa85
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue