Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
kimura-developer committed Nov 9, 2023
1 parent 23a5adb commit a99790d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
12 changes: 0 additions & 12 deletions web-app/src/ng1/admin/layers/layer.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,18 +204,6 @@ class AdminLayerController {
document.body.removeChild(a);
}

handleLayerDownloadError(err) {
console.error('Error downloading the layer', err);
}

handleJSONDownloadError(response) {
if (response && response.message) {
console.error('Error downloading the layer', response.message);
} else {
console.error('Error downloading the layer', response);
}
}

addUploadFile() {
this.uploads.push({});
}
Expand Down
5 changes: 0 additions & 5 deletions web-app/src/ng1/factories/layer.resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ function Layer($resource) {
'Content-Type': 'application/json'
}
},
download: {
method: 'GET',
url: '/api/layers/:layerId/file',
responseType: 'blob'
},
}
);

Expand Down

0 comments on commit a99790d

Please sign in to comment.