Skip to content

Commit

Permalink
fix: can't drop column when name overlap (#16482)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie authored Sep 1, 2021
1 parent e024f8c commit 80c39da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 80c39da

Please sign in to comment.