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:
@@ -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
|
||||
|
@@ -144,8 +144,5 @@
|
||||
return query.replace(/\$\{user\}/g, user);
|
||||
},
|
||||
|
||||
_computeUserHeaderClass(userParam) {
|
||||
return userParam === 'self' ? 'hide' : '';
|
||||
},
|
||||
});
|
||||
})();
|
||||
|
Reference in New Issue
Block a user