Skip to content

Commit

Permalink
Merge pull request #7300 from pjonsson/remove-unused-vars
Browse files Browse the repository at this point in the history
Remove dead assignments
  • Loading branch information
na9da authored Nov 13, 2024
2 parents 73c2371 + 2ea1025 commit 3bb62c4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export default class ThreddsItemReference extends UrlMixin(
);
if (model === undefined) return;
this.setThreddsStrata(model);
_previousTarget = model;
return model;
}
}
1 change: 0 additions & 1 deletion lib/Models/Catalog/Ckan/CkanItemReference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ export default class CkanItemReference extends UrlMixin(
}

if (model === undefined) return;
_previousTarget = model;
await this.setCkanStrata(model);

model.setTrait(CommonStrata.definition, "name", this.name);
Expand Down
1 change: 0 additions & 1 deletion lib/Models/Catalog/Esri/ArcGisPortalItemReference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ export default class ArcGisPortalItemReference extends AccessControlMixin(
);

if (model === undefined) return;
_previousTarget = model;
await this.setArcgisStrata(model);

const defintionStratum = this.strata.get(CommonStrata.definition);
Expand Down

0 comments on commit 3bb62c4

Please sign in to comment.