mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
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
Block a user