PolyGerrit: Remove some duplicate code

Change-Id: If63acd2b3f9a4b513842250f1009fdf24731c6df
This commit is contained in:
Paladox none
2017-06-24 22:52:37 +00:00
parent 2c6d15f8f1
commit 418ed9f581
2 changed files with 0 additions and 22 deletions

View File

@@ -140,27 +140,6 @@ limitations under the License.
on-account-detail-update="_handleAccountDetailUpdate">
</gr-settings-view>
</template>
<template is="dom-if" if="[[_showGroupListView]]" restamp="true">
<gr-admin-group-list
params="[[params]]"
id="groupList"></gr-admin-group-list>
</template>
<template is="dom-if" if="[[_showProjectListView]]" restamp="true">
<gr-admin-project-list
params="[[params]]"
id="projectList"></gr-admin-project-list>
</template>
<template is="dom-if" if="[[_showAdminProject]]" restamp="true">
<gr-admin-project project="[[params.project]]"></gr-admin-project>
</template>
<template is="dom-if" if="[[_showPluginListView]]" restamp="true">
<gr-admin-plugin-list id="pluginList"></gr-admin-plugin-list>
</template>
<template is="dom-if" if="[[_createProject]]" restamp="true">
<gr-admin-create-project
params="[[params]]"
id="createProject"></gr-admin-create-project>
</template>
<template is="dom-if" if="[[_showAdminView]]" restamp="true">
<gr-admin-view path="[[_path]]"
params=[[params]]></gr-admin-view>

View File

@@ -136,7 +136,6 @@
this.set('_showChangeView', view === 'gr-change-view');
this.set('_showDiffView', view === 'gr-diff-view');
this.set('_showSettingsView', view === 'gr-settings-view');
this.set('_showPluginListView', view === 'gr-admin-plugin-list');
this.set('_showAdminView', view === 'gr-admin-view');
this.set('_showCLAView', view === 'gr-cla-view');
if (this.params.justRegistered) {