Skip to content

Commit

Permalink
add hideParameters param (re getredash#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
alison985 authored and jezdez committed Mar 5, 2018
1 parent 82373ce commit de46def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/components/parameters.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="parameter-container form-inline bg-white"
ng-if="parameters | notEmpty"
ng-if="hideParameters != 'true' && parameters | notEmpty"
ui-sortable="{ 'ui-floating': true, 'disabled': !editable }"
ng-model="parameters">
<div class="form-group m-r-10"
Expand Down
1 change: 1 addition & 0 deletions client/app/components/parameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function ParametersDirective($location, $uibModal) {
},
});
};
scope.hideParameters = $location.search().hideParameters;
},
};
}
Expand Down

0 comments on commit de46def

Please sign in to comment.