fix: can't drop column when name overlap (#16482)

This commit is contained in:
Yongjie Zhao 2021-09-01 06:52:10 +01:00 committed by GitHub
parent e024f8c7d6
commit 80c39daa85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {