Make gr-edit-controls respect current patchNum
Without the current patchNum, the edit controls query for files from a patch set (`edit`) that may not exist. Bug: Issue 4437 Change-Id: Ifd20f96741e43e47c040e300d9ab82b21a9ae4ba
This commit is contained in:
@@ -197,7 +197,10 @@ limitations under the License.
|
||||
</div>
|
||||
<div class$="rightControls [[_computeExpandedClass(filesExpanded)]]">
|
||||
<span class="showOnEdit flexContainer">
|
||||
<gr-edit-controls id="editControls" change="[[change]]"></gr-edit-controls>
|
||||
<gr-edit-controls
|
||||
id="editControls"
|
||||
patch-num="[[patchNum]]"
|
||||
change="[[change]]"></gr-edit-controls>
|
||||
<span class="separator"></span>
|
||||
</span>
|
||||
<span class="downloadContainer desktop">
|
||||
|
||||
Reference in New Issue
Block a user