Skip to content

Commit

Permalink
Perform case-insensitive hub name comparison for current name
Browse files Browse the repository at this point in the history
  • Loading branch information
gzurowski committed Oct 22, 2024
1 parent 93dc63c commit 5130a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Modals/EditHubModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class EditHubModal extends Component {
let isUniqueOrCurrent = true;
if (hubName) {
isUniqueOrCurrent =
hubName == this.state.originalHubName ||
hubName.toLowerCase == this.state.originalHubName.toLowerCase() ||
(await this.isHubNameUnique(hubName));
}
if (isUniqueOrCurrent) {
Expand Down

0 comments on commit 5130a12

Please sign in to comment.