commit | 4ff48f6b0ea057f56b7a5ccb998a4031cafd8387 | [log] [tgz] |
---|---|---|
author | Kasper Nilsson <kaspern@google.com> | Thu Oct 19 11:11:42 2017 -0700 |
committer | Kasper Nilsson <kaspern@google.com> | Thu Oct 19 11:19:11 2017 -0700 |
tree | 96b8550796618c927f03fd5bcfc6e44e6514b2fd | |
parent | bb42f0ee179c42bef73fa31359d977a515f60d6f [diff] |
Remove obsolete function call in promise chain Promise was made obsolete by 206966a5ae8c4ab369213d99df6707e64f377862, but never completely removed. Change-Id: I1fde9c281b5a4e446bb31e8a0bac10e4d210672b
diff --git a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.js b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.js index d780a0e..8ed6759 100644 --- a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.js +++ b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.js
@@ -433,12 +433,7 @@ _getFiles() { return this.$.restAPI.getChangeFilesAsSpeciallySortedArray( - this.changeNum, this.patchRange).then(files => { - // Append UI-specific properties. - return files.map(file => { - return file; - }); - }); + this.changeNum, this.patchRange); }, /**