Revert "Add user header to the dashboard view"

This reverts commit 50d6cb54e4.

Breaks the tests:

--- Errors --
Error from file: interface-test.js
initializing variable
found   : module$exports$polygerrit$polygerrit-ui$app$elements$change-list$gr-dashboard-view$gr-dashboard-view$js
required: polygerrit-ui/app/elements/change-list/gr-dashboard-view/gr-dashboard-view.html
missing : []
mismatch: [params]

Change-Id: I8da6f0bcbac79dd32711b4aadf4aab116d7ffecb
This commit is contained in:
David Pursehouse
2017-10-03 13:27:25 +01:00
parent b9e14ed68c
commit 8380b02d66
2 changed files with 0 additions and 10 deletions

View File

@@ -19,7 +19,6 @@ limitations under the License.
<link rel="import" href="../../../styles/shared-styles.html">
<link rel="import" href="../../change-list/gr-change-list/gr-change-list.html">
<link rel="import" href="../../shared/gr-rest-api-interface/gr-rest-api-interface.html">
<link rel="import" href="../gr-user-header/gr-user-header.html">
<dom-module id="gr-dashboard-view">
<template>
@@ -35,9 +34,6 @@ limitations under the License.
gr-change-list {
width: 100%;
}
.hide {
display: none;
}
@media only screen and (max-width: 50em) {
.loading {
padding: 0 var(--default-horizontal-margin);
@@ -46,9 +42,6 @@ limitations under the License.
</style>
<div class="loading" hidden$="[[!_loading]]">Loading...</div>
<div hidden$="[[_loading]]" hidden>
<gr-user-header
user-id="[[params.user]]"
class$="[[_computeUserHeaderClass(params.user)]]"></gr-user-header>
<gr-change-list
show-star
show-reviewed-state

View File

@@ -144,8 +144,5 @@
return query.replace(/\$\{user\}/g, user);
},
_computeUserHeaderClass(userParam) {
return userParam === 'self' ? 'hide' : '';
},
});
})();