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

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 {