Skip to content

Commit

Permalink
fix: wms
Browse files Browse the repository at this point in the history
  • Loading branch information
majkshkurti committed Sep 5, 2024
1 parent 9981486 commit 1444d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/components/modals/DatasetExternal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ const DatasetExternal: React.FC<DatasetExternalProps> = ({ open, onClose, projec
const legendUrls = [] as string[];
if (capabilities.type === imageryDataType.Enum.wms) {
if (!externalUrl) return;
let styles = [] as string[];
const styles = [] as string[];
const version = capabilities.capabilities?.version;
const baseUrl = getBaseUrl(externalUrl);
selectedDatasets.forEach((dataset) => {
Expand Down

0 comments on commit 1444d4a

Please sign in to comment.