Skip to content
Permalink
Browse files

If no SD card support, remove SD file filter

When SD card support is disabled on the server, remove any client side
filtering to just SD files since there aren't any and there won't be UI
turn remove the filter either.  Should address #1300
  • Loading branch information...
markwal committed Mar 28, 2016
1 parent 1a4c06d commit 183ca3291b2399f8f847fbd4ad2209f3a9e7e5af
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/octoprint/static/js/app/viewmodels/files.js
@@ -396,6 +396,7 @@ $(function() {
self.localTarget = $("#drop_locally");
} else {
self.localTarget = $("#drop");
self.listHelper.removeFilter('sd');
}
self.sdTarget = $("#drop_sd");

0 comments on commit 183ca32

Please sign in to comment.
You can’t perform that action at this time.