Commit deba9d9f authored by Robert Knight's avatar Robert Knight

Correct property assignments

Fix incorrect additions of 'vm.' prefix that were added when converting
`<top-bar>` to a component and a missing 'vm.' prefix in the call to log
out.
parent 0f983b5f
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
</search-input> </search-input>
<div class="top-bar__expander"></div> <div class="top-bar__expander"></div>
<login-control <login-control
vm.auth="vm.auth" auth="vm.auth"
new-style="false" new-style="false"
on-show-help-panel="vm.onShowHelpPanel()" on-show-help-panel="vm.onShowHelpPanel()"
on-login="vm.onLogin()" on-login="vm.onLogin()"
on-logout="onLogout()"> on-logout="vm.onLogout()">
</login-control> </login-control>
</div> </div>
<!-- New design for the top bar, as used in the sidebar. <!-- New design for the top bar, as used in the sidebar.
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
the stream view. the stream view.
!--> !-->
<div class="top-bar__inner content" ng-if="::vm.isSidebar"> <div class="top-bar__inner content" ng-if="::vm.isSidebar">
<group-list class="group-list" vm.auth="vm.auth"></group-list> <group-list class="group-list" auth="vm.auth"></group-list>
<div class="top-bar__expander"></div> <div class="top-bar__expander"></div>
<a class="top-bar__apply-update-btn" <a class="top-bar__apply-update-btn"
ng-if="vm.pendingUpdateCount > 0" ng-if="vm.pendingUpdateCount > 0"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<sort-dropdown <sort-dropdown
sort-keys-available="vm.sortKeysAvailable" sort-keys-available="vm.sortKeysAvailable"
sort-key="vm.sortKey" sort-key="vm.sortKey"
on-change-sort-key="vm.onChangeSortKey({vm.sortKey: vm.sortKey})"> on-change-sort-key="vm.onChangeSortKey({sortKey: sortKey})">
</sort-dropdown> </sort-dropdown>
<a class="top-bar__btn" <a class="top-bar__btn"
ng-click="vm.onSharePage()" ng-click="vm.onSharePage()"
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</a> </a>
<login-control <login-control
class="login-control" class="login-control"
vm.auth="vm.auth" auth="vm.auth"
new-style="true" new-style="true"
on-show-help-panel="vm.onShowHelpPanel()" on-show-help-panel="vm.onShowHelpPanel()"
on-login="vm.onLogin()" on-login="vm.onLogin()"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment