Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dagroe committed Feb 8, 2025
1 parent c032a9a commit 987b042
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ember-basic-dropdown/src/components/basic-dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,11 @@ export default class BasicDropdown extends Component<BasicDropdownSignature> {
}

// check if destination exists in tests:
if (config['ember-basic-dropdown'] &&
config['ember-basic-dropdown'].destination) {
const destination = config['ember-basic-dropdown'].destination
if (
config['ember-basic-dropdown'] &&
config['ember-basic-dropdown'].destination
) {
const destination = config['ember-basic-dropdown'].destination;
if (document.getElementById(destination) !== null) {
return destination;
}
Expand Down

0 comments on commit 987b042

Please sign in to comment.