Skip to content

Commit

Permalink
WIP - layer download
Browse files Browse the repository at this point in the history
  • Loading branch information
kimura-developer committed Oct 2, 2023
1 parent a279110 commit 0ec46fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions web-app/src/ng1/admin/layers/layer.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ class AdminLayerController {
UserService.myself.role.permissions,
'DELETE_LAYER'
);
this.hasLayerDownloadPermission = _.contains(
UserService.myself.role.permissions,
'DOWNLOAD_LAYER'
);

this.fileUploadOptions = {
acceptFileTypes: /(\.|\/)(kml)$/i,
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/ng1/admin/layers/layer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h2>
<button class="btn btn-default pull-right" ng-click="$ctrl.editLayer($ctrl.layer)"><i class="fa fa-edit"></i> Edit</button>
</h2>
<h2>
<button class="btn btn-default pull-right" ng-click="$ctrl.editLayer($ctrl.layer)"><i class="fa fa-download"></i> Download</button>
<button class="btn btn-default pull-right" ng-click="$ctrl.downloadLayer()"><i class="fa fa-download"></i> Download</button>
</h2>
</div>
</div>
Expand Down

0 comments on commit 0ec46fe

Please sign in to comment.