mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 08:58:52 +00:00
[Treeview] Rename variable for clarity
paneModel's pane to leftPane, for clarity once a right pane is added.
This commit is contained in:
parent
e44e50823e
commit
29b1cfa890
@ -24,7 +24,7 @@
|
||||
<div class="object-browse-bar bar abs">
|
||||
|
||||
<div class="ui-symbol left-pane-tabs"
|
||||
ng-click="ngModel.pane = !ngModel.pane; log(ngModel.pane)">
|
||||
ng-click="ngModel.leftPane = !ngModel.leftPane; log(ngModel.pane)">
|
||||
<
|
||||
</div>
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
<mct-split-pane class='contents abs'
|
||||
anchor='left'>
|
||||
<div class='split-pane-component treeview pane left'
|
||||
ng-class='{inactive: !paneModel.pane}'>
|
||||
ng-class='{inactive: !paneModel.leftPane}'>
|
||||
|
||||
<mct-representation key="'create-button'"
|
||||
mct-object="navigatedObject">
|
||||
|
@ -64,7 +64,7 @@ define(
|
||||
}
|
||||
}
|
||||
|
||||
$scope.ngModel.pane = true;
|
||||
$scope.ngModel.leftPane = true;
|
||||
|
||||
$scope.$watch('domainObject', setViewForDomainObject);
|
||||
$scope.$watch('representation.selected.key', updateQueryParam);
|
||||
|
Loading…
Reference in New Issue
Block a user