Remove unused property drafts and projectConfig from file-list
Change-Id: I6ede908bc9dc38a9aa5a12bbaa38de2a9efd997a
diff --git a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts
index c4b701f..7225bb9 100644
--- a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts
+++ b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_html.ts
@@ -622,9 +622,7 @@
change-num="[[_changeNum]]"
patch-range="{{_patchRange}}"
change-comments="[[_changeComments]]"
- drafts="[[_diffDrafts]]"
revisions="[[_change.revisions]]"
- project-config="[[_projectConfig]]"
selected-index="{{viewState.selectedFileIndex}}"
diff-view-mode="[[viewState.diffMode]]"
edit-mode="[[_editMode]]"
diff --git a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts
index d5bda17..f3ccd61 100644
--- a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts
+++ b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts
@@ -54,7 +54,6 @@
} from '../../../utils/path-list-util';
import {customElement, observe, property} from '@polymer/decorators';
import {
- ConfigInfo,
ElementPropertyDeepChange,
FileInfo,
FileNameToFileInfoMap,
@@ -72,7 +71,6 @@
import {GrCursorManager} from '../../shared/gr-cursor-manager/gr-cursor-manager';
import {PolymerSpliceChange} from '@polymer/polymer/interfaces';
import {ChangeComments} from '../../diff/gr-comment-api/gr-comment-api';
-import {UIDraft} from '../../../utils/comment-util';
import {ParsedChangeInfo} from '../../shared/gr-rest-api-interface/gr-reviewer-updates-parser';
import {PatchSetFile} from '../../../types/types';
import {CustomKeyboardEvent} from '../../../types/events';
@@ -206,15 +204,9 @@
@property({type: Object})
changeComments?: ChangeComments;
- @property({type: Object})
- drafts?: {[path: string]: UIDraft[]};
-
@property({type: Array})
revisions?: {[revisionId: string]: RevisionInfo};
- @property({type: Object})
- projectConfig?: ConfigInfo;
-
@property({type: Number, notify: true})
selectedIndex = -1;